1 # Maintainer: Vlatko Kosturjak <kost@linux.hr>
2 # Based on PKGBUILD from: Hugo Doria <ly50247@gmail.com>
7 pkgdesc="A network exploration tool and security/port scanner, development version"
12 depends=('pcre' 'openssl' 'libpcap>=1.0.0' 'lua')
13 options=('!makeflags')
16 source=(http://nmap.org/dist/${_realname}-${pkgver}.tar.bz2)
19 cd ${srcdir}/${_realname}-${pkgver}
21 ./configure --prefix=/usr --mandir=/usr/share/man --without-ncat \
22 --libexecdir=/usr/lib --with-openssl=/usr/include/openssl --with-libpcap=/usr/include/pcap PYTHON=python2
24 make DESTDIR="${pkgdir}" install
26 # install GPL2 license
27 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${_realname}/LICENSE
29 md5sums=('0e045628c00a9219ac1111ea6e9986e6')