iftop.mk 551 B

12345678910111213141516171819
  1. ################################################################################
  2. #
  3. # iftop
  4. #
  5. ################################################################################
  6. IFTOP_VERSION = 1.0pre4
  7. IFTOP_SITE = http://www.ex-parrot.com/pdw/iftop/download
  8. IFTOP_DEPENDENCIES = ncurses libpcap
  9. IFTOP_LICENSE = GPL-2.0+
  10. IFTOP_LICENSE_FILES = COPYING
  11. IFTOP_LIBS = -lpcap
  12. ifeq ($(BR2_STATIC_LIBS),y)
  13. IFTOP_LIBS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
  14. endif
  15. IFTOP_CONF_ENV += LIBS+="$(IFTOP_LIBS)"
  16. $(eval $(autotools-package))