2 # Copyright (C) 2014-2015 OpenWrt.org
5 include $(TOPDIR
)/rules.mk
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
12 PKG_SOURCE_URL
:=http
://www.gropp.org
/bwm-ng
13 PKG_HASH
:=c1a552b6ff48ea3e4e10110a7c188861abc4750befc67c6caaba8eb3ecf67f46
15 PKG_MAINTAINER
:=Julen Landa Alustiza
<julen@zokormazo.
info>
17 PKG_LICENSE_FILES
:=COPYING
18 PKG_CPE_ID
:=cpe
:/a
:bwm-ng_project
:bwm-ng
24 include $(INCLUDE_DIR
)/package.mk
29 DEPENDS
:=+BWMNG_LIBNCURSES
:libncurses
31 URL
:=http
://www.gropp.org
/?id
=projects
&sub
=bwm-ng
35 define Package
/bwm-ng
/description
36 Bandwidth Monitor NG is a small and simple console-based live
37 network and disk io bandwidth monitor.
40 define Package
/bwm-ng
/config
41 source
"$(SOURCE)/Config.in"
45 $(if
$(CONFIG_BWMNG_CONFIGFILE
),--enable
,--disable
)-configfile \
46 $(if
$(CONFIG_BWMNG_HTML
),--enable
,--disable
)-html \
47 $(if
$(CONFIG_BWMNG_CSV
),--enable
,--disable
)-csv \
48 $(if
$(CONFIG_BWMNG_EXTENDEDSTATS
),--enable
,--disable
)-extendedstats \
49 $(if
$(CONFIG_BWMNG_LIBNCURSES
),--with
,--without
)-ncurses \
50 $(if
$(CONFIG_BWMNG_TIME
),--with
,--without
)-time \
51 $(if
$(CONFIG_BWMNG_GETOPT_LONG
),--with
,--without
)-getopt_long \
56 define Package
/bwm-ng
/install
57 $(INSTALL_DIR
) $(1)/usr
/bin
58 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/bwm-ng
$(1)/usr
/bin
/
61 $(eval
$(call BuildPackage
,bwm-ng
))