2 # Copyright (C) 2007-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://github.com
/tgraf
/bmon
/releases
/download
/v
$(PKG_VERSION
)/
16 PKG_MD5SUM
:=162ce0d108ff32cbf44b874c5a7e8147
17 PKG_MAINTAINER
:=Baptiste Jonglez
<openwrt-pkg@bitsofnetworks.org
>
20 include $(INCLUDE_DIR
)/package.mk
25 DEPENDS
:=+libncursesw
+libnl-core
+libnl-route
+confuse
+terminfo
26 TITLE
:=bmon is a portable bandwidth monitor
27 URL
:=https
://github.com
/tgraf
/bmon
/
30 define Package
/bmon
/description
31 bmon is a portable bandwidth monitor
32 and rate estimator running on various
33 operating systems. It supports various
34 input methods for different architectures.
38 --disable-cnt-workaround \
41 ac_cv_lib_nl_nl_connect
=no \
43 # Needed to compile some objects
44 TARGET_CFLAGS
+= -std
=gnu99
46 define Package
/bmon
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/bmon
$(1)/usr
/sbin
/
51 $(eval
$(call BuildPackage
,bmon
))