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
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=bmon is a portable bandwidth monitor
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 URL
:=http
://people.suug.ch
/~tgr
/bmon
/
37 define Build
/Configure
38 $(call Build
/Configure
/Default
, \
39 --disable-cnt-workaround \
47 $(call Build
/Compile
/Default
,all)
50 define Package
/bmon
/install
51 install -d
-m0755
$(1)/usr
/sbin
52 install -m0755
$(PKG_BUILD_DIR
)/src
/bmon
$(1)/usr
/sbin
/
55 $(eval
$(call BuildPackage
,bmon
))