ifstat: cleanup Makefile
authorOliver Ertl <oliver@ertl-net.net>
Wed, 5 Sep 2007 11:29:03 +0000 (11:29 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Wed, 5 Sep 2007 11:29:03 +0000 (11:29 +0000)
SVN-Revision: 8622

net/ifstat/Makefile

index c8568ef..ffb9eb5 100644 (file)
@@ -12,11 +12,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ifstat
 PKG_VERSION:=1.1
 PKG_RELEASE:=1
-PKG_MD5SUM:=b655642c33a626cfe976792fbcd9b6e1
 
 PKG_SOURCE_URL:=http://gael.roualland.free.fr/ifstat
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_CAT:=zcat
+PKG_MD5SUM:=b655642c33a626cfe976792fbcd9b6e1
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -24,16 +23,16 @@ define Package/ifstat
   SECTION:=net
   CATEGORY:=Network
   TITLE:=Network interface bandwidth usage
-  DESCRIPTION:=\
-       Network interface bandwidth usage, \
-       with support for snmp targets
   URL:=http://gael.roualland.free.fr/ifstat/
 endef
 
+define Package/ifstat/description
+ Network interface bandwidth usage, with support for snmp targets
+endef
+
 define Package/ifstat/install
        $(INSTALL_DIR) $(1)/usr/bin
-       $(CP) $(PKG_BUILD_DIR)/ifstat $(1)/usr/bin/
-       $(RSTRIP) $(1)
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/ifstat $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,ifstat))