Port bwm to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4352 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
72dd829577
commit
7f5b103a7e
39
net/bwm/Makefile
Normal file
39
net/bwm/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# 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:=bwm
|
||||
PKG_VERSION:=1.1.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=51021a036acb92d2bda0c0c0483f9552
|
||||
|
||||
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/b/bwm
|
||||
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
|
||||
PKG_CAT:=zcat
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/bwm
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=A very tiny bandwidth monitor
|
||||
DESCRIPTION:=A very tiny bandwidth monitor
|
||||
URL:=http://ftp.debian.org/debian/pool/main/b/bwm
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/bwm.c -o $(PKG_BUILD_DIR)/bwm
|
||||
endef
|
||||
|
||||
define Package/bwm/install
|
||||
mkdir -p $(1)/usr/bin
|
||||
install -m 755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,bwm))
|
Loading…
x
Reference in New Issue
Block a user