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>
This commit is contained in:
Joris Lijssens 2015-12-17 15:33:56 +01:00 committed by Thomas Petazzoni
parent c6a4e95233
commit 2efeb83961

View File

@ -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); \