ifstat: cleanup Makefile
[openwrt/svn-archive/archive.git] / net / ifstat / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 #
8 # $ Id:$
9
10 include $(TOPDIR)/rules.mk
11
12 PKG_NAME:=ifstat
13 PKG_VERSION:=1.1
14 PKG_RELEASE:=1
15
16 PKG_SOURCE_URL:=http://gael.roualland.free.fr/ifstat
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18 PKG_MD5SUM:=b655642c33a626cfe976792fbcd9b6e1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/ifstat
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=Network interface bandwidth usage
26 URL:=http://gael.roualland.free.fr/ifstat/
27 endef
28
29 define Package/ifstat/description
30 Network interface bandwidth usage, with support for snmp targets
31 endef
32
33 define Package/ifstat/install
34 $(INSTALL_DIR) $(1)/usr/bin
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ifstat $(1)/usr/bin/
36 endef
37
38 $(eval $(call BuildPackage,ifstat))