1 # Copyright (C) 2006 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MD5SUM
:=51021a036acb92d2bda0c0c0483f9552
15 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/b
/bwm
16 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
).orig
20 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=A very tiny bandwidth monitor
26 DESCRIPTION
:=A very tiny bandwidth monitor
27 URL
:=http
://ftp.debian.org
/debian
/pool
/main
/b
/bwm
31 $(TARGET_CC
) $(TARGET_CFLAGS
) $(PKG_BUILD_DIR
)/bwm.c
-o
$(PKG_BUILD_DIR
)/bwm
34 define Package
/bwm
/install
36 install -m
755 $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/bin
/
39 $(eval
$(call BuildPackage
,bwm
))