Root/package/network/utils/iftop/Makefile

1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=iftop
11PKG_VERSION:=0.17
12PKG_RELEASE:=2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.ex-parrot.com/~pdw/iftop/download
16PKG_MD5SUM:=062bc8fb3856580319857326e0b8752d
17
18PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/iftop
23  SECTION:=net
24  CATEGORY:=Network
25  DEPENDS:=+libpcap +libncurses +libpthread
26  TITLE:=display bandwith usage on an interface
27  URL:=http://www.ex-parrot.com/~pdw/iftop/
28endef
29
30define Package/iftop/description
31    iftop does for network usage what top(1) does for CPU usage. It
32    listens to network traffic on a named interface and displays a
33    table of current bandwidth usage by pairs of hosts. Handy for
34    answering the question 'why is our ADSL link so slow?'.
35endef
36
37define Package/iftop/install
38    $(INSTALL_DIR) $(1)/usr/bin
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/iftop $(1)/usr/bin/
40endef
41
42$(eval $(call BuildPackage,iftop))
43

Archive Download this file



interactive