You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=iftop
  3. PKG_RELEASE:=2
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL:=https://code.blinkace.com/pdw/iftop.git
  6. PKG_SOURCE_DATE:=2018-10-03
  7. PKG_SOURCE_VERSION:=77901c8c53e01359d83b8090aacfe62214658183
  8. PKG_MIRROR_HASH:=219231541a437f5aecd497796be0202d337e13f141359a93595bf2cd8c5c5544
  9. PKG_MAINTAINER:=Paul Spooren <mail@aparcar.org>
  10. PKG_LICENSE:=GPL-2.0
  11. PKG_FIXUP:=autoreconf
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/iftop
  14. SECTION:=net
  15. CATEGORY:=Network
  16. DEPENDS:=+libpcap +libncurses +libpthread
  17. TITLE:=display bandwith usage on an interface
  18. URL:=http://www.ex-parrot.com/~pdw/iftop/
  19. endef
  20. define Package/iftop/description
  21. iftop does for network usage what top(1) does for CPU usage. It
  22. listens to network traffic on a named interface and displays a
  23. table of current bandwidth usage by pairs of hosts. Handy for
  24. answering the question 'why is our ADSL link so slow?'.
  25. endef
  26. define Package/iftop/install
  27. $(INSTALL_DIR) $(1)/usr/bin
  28. $(INSTALL_BIN) $(PKG_BUILD_DIR)/iftop $(1)/usr/bin/
  29. endef
  30. $(eval $(call BuildPackage,iftop))