2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://people.suug.ch/~tgr/bmon/files/
17 PKG_MD5SUM:=3111a027907016c0902d67350c619df6
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 include $(INCLUDE_DIR)/package.mk
27 TITLE:=bmon is a portable bandwidth monitor
28 URL:=http://people.suug.ch/~tgr/bmon/
31 define Package/bmon/description
32 bmon is a portable bandwidth monitor
33 and rate estimator running on various
34 operating systems. It supports various
35 input methods for different architectures.
38 define Build/Configure
39 $(call Build/Configure/Default, \
40 --disable-cnt-workaround \
48 $(call Build/Compile/Default,all)
51 define Package/bmon/install
52 $(INSTALL_DIR) $(1)/usr/sbin
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/
56 $(eval $(call BuildPackage,bmon))