summaryrefslogtreecommitdiff
path: root/package/iftop/iftop.mk
blob: 042f2b28eb759d7f74a60aaac4ec0445c7dd5663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
################################################################################
#
# iftop
#
################################################################################

IFTOP_VERSION = 1.0pre4
IFTOP_SITE = http://www.ex-parrot.com/pdw/iftop/download
IFTOP_DEPENDENCIES = ncurses libpcap
IFTOP_LICENSE = GPLv2+
IFTOP_LICENSE_FILES = COPYING

IFTOP_LIBS = -lpcap
ifeq ($(BR2_STATIC_LIBS),y)
IFTOP_LIBS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
endif
IFTOP_CONF_ENV += LIBS+="$(IFTOP_LIBS)"

$(eval $(autotools-package))