summaryrefslogtreecommitdiffstats
path: root/package/nmap/nmap.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-02-25 04:39:51 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-02-25 20:34:08 +0100
commit06b3e4c50d8c110f8b905f133afa31739d7817fd (patch)
tree2762cf985673076de6a2fcfdc0e8a8796c0499c4 /package/nmap/nmap.mk
parent98de049686e67b0866f7024c61eb51bdbd1091f5 (diff)
downloadbuildroot-novena-06b3e4c50d8c110f8b905f133afa31739d7817fd.tar.gz
buildroot-novena-06b3e4c50d8c110f8b905f133afa31739d7817fd.zip
nmap: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/nmap/nmap.mk')
-rw-r--r--package/nmap/nmap.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/nmap/nmap.mk b/package/nmap/nmap.mk
new file mode 100644
index 000000000..a5b085d7f
--- /dev/null
+++ b/package/nmap/nmap.mk
@@ -0,0 +1,24 @@
+#############################################################
+#
+# nmap
+#
+#############################################################
+
+NMAP_VERSION = 6.01
+NMAP_SITE = http://nmap.org/dist
+NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2
+NMAP_DEPENDENCIES = libpcap pcre
+NMAP_CONF_OPT = --without-liblua --without-zenmap \
+ --with-libdnet=included --with-liblinear=included \
+ --with-libpcre="$(STAGING_DIR)/usr"
+NMAP_LICENSE = GPLv2
+NMAP_LICENSE_FILES = COPYING
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+NMAP_CONF_OPT += --with-openssl="$(STAGING_DIR)/usr"
+NMAP_DEPENDENCIES += openssl
+else
+NMAP_CONF_OPT += --without-openssl
+endif
+
+$(eval $(autotools-package))