webkitgtk: update to 2.16.0, still a gcc6 problem open
[openadk.git] / package / nmap / Makefile
blob45c06a515ff80935ec3317a5335abfa3de5c849d
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= nmap
7 PKG_VERSION:= 7.40
8 PKG_RELEASE:= 1
9 PKG_HASH:= 9e14665fffd054554d129d62c13ad95a7b5c7a046daa2290501909e65f4d3188
10 PKG_DESCR:= utility for network exploration or security auditing
11 PKG_SECTION:= net/security
12 PKG_DEPENDS:= libdnet libpcap libpcre
13 PKG_BUILDDEP:= libdnet libpcap pcre
14 PKG_NEEDS:= c++
15 PKG_URL:= http://nmap.org/
16 PKG_SITES:= http://download.insecure.org/nmap/dist/
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,NMAP,nmap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 TARGET_CPPFLAGS+= -DNOLUA
25 TARGET_LDFLAGS+= -lpthread
26 CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
27 CONFIGURE_ARGS+= --without-openssl \
28 --without-zenmap \
29 --without-ndiff \
30 --without-liblua \
31 --with-libpcap="${STAGING_TARGET_DIR}/usr" \
32 --with-libpcre="${STAGING_TARGET_DIR}/usr" \
33 --enable-static
34 XAKE_FLAGS+= GCC_HONOUR_COPTS=s
36 nmap-install:
37 ${INSTALL_DIR} ${IDIR_NMAP}/usr/share/nmap
38 ${INSTALL_DIR} ${IDIR_NMAP}/usr/bin
39 for file in mac-prefixes os-db protocols rpc service-probes services; do \
40 ${CP} ${WRKINST}/usr/share/nmap/nmap-$$file ${IDIR_NMAP}/usr/share/nmap; \
41 done
42 ${INSTALL_BIN} ${WRKINST}/usr/bin/nmap ${IDIR_NMAP}/usr/bin/
44 include ${ADK_TOPDIR}/mk/pkg-bottom.mk