nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / net / bmon / 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 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=bmon
11 PKG_VERSION:=2.1.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://people.suug.ch/~tgr/bmon/files/
16 PKG_MD5SUM:=3111a027907016c0902d67350c619df6
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/bmon
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+libncurses
24 TITLE:=bmon is a portable bandwidth monitor
25 URL:=http://people.suug.ch/~tgr/bmon/
26 endef
27
28 define Package/bmon/description
29 bmon is a portable bandwidth monitor
30 and rate estimator running on various
31 operating systems. It supports various
32 input methods for different architectures.
33 endef
34
35 CONFIGURE_ARGS += \
36 --disable-cnt-workaround \
37 --disable-dbi \
38 --disable-rrd \
39 --disable-asound \
40
41 CONFIGURE_VARS += \
42 ac_cv_lib_nl_nl_connect=no \
43
44 define Package/bmon/install
45 $(INSTALL_DIR) $(1)/usr/sbin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/
47 endef
48
49 $(eval $(call BuildPackage,bmon))