2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.ex-parrot.com
/~pdw
/iftop
/download
17 PKG_MD5SUM
:=062bc8fb3856580319857326e0b8752d
19 include $(INCLUDE_DIR
)/package.mk
24 DEPENDS
:=+libpcap
+libncurses
+libpthread
25 TITLE
:=display bandwith usage on an interface
26 URL
:=http
://www.ex-parrot.com
/~pdw
/iftop
/
29 define Package
/iftop
/description
30 iftop does for network usage what top
(1) does for CPU usage. It
31 listens to network traffic on a named interface and displays a
32 table of current bandwidth usage by pairs of hosts. Handy for
33 answering the question
'why is our ADSL link so slow?'.
36 define Package
/iftop
/install
37 $(INSTALL_DIR
) $(1)/usr
/bin
38 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/iftop
$(1)/usr
/bin
/
41 $(eval
$(call BuildPackage
,iftop
))