Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=iftop
  9. PKG_VERSION:=1.0pre2
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.ex-parrot.com/~pdw/iftop/download
  13. PKG_MD5SUM:=fef521a49ec0122458d02c64212af3c5
  14. PKG_MAINTAINER:=Jo-Philipp Wich <[email protected]>
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/iftop
  17. SECTION:=net
  18. CATEGORY:=Network
  19. DEPENDS:=+libpcap +libncurses +libpthread
  20. TITLE:=display bandwith usage on an interface
  21. URL:=http://www.ex-parrot.com/~pdw/iftop/
  22. endef
  23. define Package/iftop/description
  24. iftop does for network usage what top(1) does for CPU usage. It
  25. listens to network traffic on a named interface and displays a
  26. table of current bandwidth usage by pairs of hosts. Handy for
  27. answering the question 'why is our ADSL link so slow?'.
  28. endef
  29. define Package/iftop/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/iftop $(1)/usr/bin/
  32. endef
  33. $(eval $(call BuildPackage,iftop))