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:
parent
c6a4e95233
commit
2efeb83961
@ -16,6 +16,18 @@ NETSNIFF_NG_DEPENDENCIES = \
|
|||||||
libnl libpcap libcli libnetfilter_conntrack \
|
libnl libpcap libcli libnetfilter_conntrack \
|
||||||
liburcu libnet
|
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
|
# hand-written configure script and makefile
|
||||||
define NETSNIFF_NG_CONFIGURE_CMDS
|
define NETSNIFF_NG_CONFIGURE_CMDS
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
|
Loading…
Reference in New Issue
Block a user