packages/net/bmon/Makefile
blogic 0550a9ac78 remove PKG_CAT from packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 18:46:37 +00:00

57 lines
1.2 KiB
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=bmon
PKG_VERSION:=2.1.0
PKG_RELEASE:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://people.suug.ch/~tgr/bmon/files/
PKG_MD5SUM:=3111a027907016c0902d67350c619df6
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
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
define Build/Configure
$(call Build/Configure/Default, \
--disable-cnt-workaround \
--disable-dbi \
--disable-rrd \
--disable-asound \
)
endef
define Build/Compile
$(call Build/Compile/Default,all)
endef
define Package/bmon/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,bmon))