From: Oliver Ertl Date: Wed, 5 Sep 2007 11:29:03 +0000 (+0000) Subject: ifstat: cleanup Makefile X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f0f6c1dee177ee423dbc88f869ada84bb6119704;p=openwrt%2Fsvn-archive%2Fpackages.git ifstat: cleanup Makefile SVN-Revision: 8622 --- diff --git a/net/ifstat/Makefile b/net/ifstat/Makefile index c8568effd..ffb9eb5bf 100644 --- a/net/ifstat/Makefile +++ b/net/ifstat/Makefile @@ -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))