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