aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 lines
843 B
Makefile
32 lines
843 B
Makefile
################################################################################
|
|
#
|
|
# nmap
|
|
#
|
|
################################################################################
|
|
|
|
NMAP_VERSION = 6.47
|
|
NMAP_SITE = http://nmap.org/dist
|
|
NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2
|
|
NMAP_DEPENDENCIES = libpcap pcre
|
|
NMAP_CONF_OPTS = --without-liblua --without-zenmap \
|
|
--with-libdnet=included --with-liblinear=included \
|
|
--with-libpcre="$(STAGING_DIR)/usr" --without-ncat
|
|
NMAP_LICENSE = GPLv2
|
|
NMAP_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
NMAP_CONF_OPTS += --with-openssl="$(STAGING_DIR)/usr"
|
|
NMAP_DEPENDENCIES += openssl
|
|
else
|
|
NMAP_CONF_OPTS += --without-openssl
|
|
endif
|
|
|
|
# ndiff only works with python2.x
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
NMAP_DEPENDENCIES += python
|
|
else
|
|
NMAP_CONF_OPTS += --without-ndiff
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|