diff options
author | Baptiste Jonglez <baptiste--git@jonglez.org> | 2014-10-29 00:12:43 +0100 |
---|---|---|
committer | Baptiste Jonglez <baptiste--git@jonglez.org> | 2014-10-31 12:01:31 +0100 |
commit | a8a3a02596786a35de04fdc39857162804034ae9 (patch) | |
tree | 4abb1eee9a196f19090424088a4d41bbf3c0a07a /net/bmon/Makefile | |
parent | 6cbf21b65d5470a7b411a84a2e6eebf862f3b06b (diff) |
bmon: Import from oldpackages
Signed-off-by: Baptiste Jonglez <bjonglez@illyse.org>
Diffstat (limited to 'net/bmon/Makefile')
-rw-r--r-- | net/bmon/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net/bmon/Makefile b/net/bmon/Makefile new file mode 100644 index 000000000..bf0b53e62 --- /dev/null +++ b/net/bmon/Makefile @@ -0,0 +1,49 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=bmon +PKG_VERSION:=2.1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://people.suug.ch/~tgr/bmon/files/ +PKG_MD5SUM:=3111a027907016c0902d67350c619df6 + +include $(INCLUDE_DIR)/package.mk + +define Package/bmon + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libncurses + TITLE:=bmon is a portable bandwidth monitor + URL:=http://people.suug.ch/~tgr/bmon/ +endef + +define Package/bmon/description + bmon is a portable bandwidth monitor + and rate estimator running on various + operating systems. It supports various + input methods for different architectures. +endef + +CONFIGURE_ARGS += \ + --disable-cnt-workaround \ + --disable-dbi \ + --disable-rrd \ + --disable-asound \ + +CONFIGURE_VARS += \ + ac_cv_lib_nl_nl_connect=no \ + +define Package/bmon/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,bmon)) |