aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Joris Lijssens <joris.lijssens@gmail.com>2015-12-17 15:33:56 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-17 17:26:38 +0100
commit2efeb839611525f8eef5c6bb20fc00ea4043eeab (patch)
tree4c69f8fe12324e09f1dfdff5e288712d3bdd2b50 /package
parentc6a4e95233f56c5eefa16d2e542db1ce5ed70285 (diff)
downloadbuildroot-2efeb839611525f8eef5c6bb20fc00ea4043eeab.tar.gz
buildroot-2efeb839611525f8eef5c6bb20fc00ea4043eeab.tar.bz2
netsniff-ng: add optional dependencies on geoip, ncurses and zlib
[Thomas: rework commit title.] Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/netsniff-ng/netsniff-ng.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/netsniff-ng/netsniff-ng.mk b/package/netsniff-ng/netsniff-ng.mk
index 40eecab8cd..5774ccd63c 100644
--- a/package/netsniff-ng/netsniff-ng.mk
+++ b/package/netsniff-ng/netsniff-ng.mk
@@ -16,6 +16,18 @@ NETSNIFF_NG_DEPENDENCIES = \
libnl libpcap libcli libnetfilter_conntrack \
liburcu libnet
+ifeq ($(BR2_PACKAGE_GEOIP),y)
+NETSNIFF_NG_DEPENDENCIES += geoip
+endif
+
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+NETSNIFF_NG_DEPENDENCIES += ncurses
+endif
+
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+NETSNIFF_NG_DEPENDENCIES += zlib
+endif
+
# hand-written configure script and makefile
define NETSNIFF_NG_CONFIGURE_CMDS
(cd $(@D); \