[package] use debian's patch to some display issues (#5182)
[openwrt/svn-archive/archive.git] / net / bwm / Makefile
index ec3d896..17d2c30 100644 (file)
@@ -1,21 +1,21 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bwm
 PKG_VERSION:=1.1.0
-PKG_RELEASE:=1
-PKG_MD5SUM:=51021a036acb92d2bda0c0c0483f9552
+PKG_RELEASE:=2
 
-PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/b/bwm
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
+PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/b/bwm
+PKG_MD5SUM:=51021a036acb92d2bda0c0c0483f9552
+
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
-PKG_CAT:=zcat
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -23,7 +23,6 @@ define Package/bwm
   SECTION:=net
   CATEGORY:=Network
   TITLE:=A very tiny bandwidth monitor
-  DESCRIPTION:=A very tiny bandwidth monitor
   URL:=http://ftp.debian.org/debian/pool/main/b/bwm
 endef
 
@@ -32,8 +31,8 @@ define Build/Compile
 endef
 
 define Package/bwm/install
-       mkdir -p $(1)/usr/bin
-       install -m 755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/bwm $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,bwm))