1 # Maintainer: Jekyll Wu <adaptee [at] gmail [dot] com>
2 # Contributor: Hugo Doria <ly50247@gmail.com>
7 pkgdesc="A network exploration tool and security/port scanner, without zenmap"
12 depends=('pcre' 'openssl' 'libpcap>=1.0.0' 'lua')
13 makedepends=('python2')
14 options=('!makeflags')
17 source=(http://nmap.org/dist/${_realname}-${pkgver}.tar.bz2)
18 md5sums=('0b80d2cb92ace5ebba8095a4c2850275')
21 cd ${srcdir}/${_realname}-${pkgver}
23 PYTHON=/usr/bin/python2 ./configure --without-zenmap --prefix=/usr --mandir=/usr/share/man \
24 --libexecdir=/usr/lib --with-openssl=/usr/include/openssl --with-libpcap=/usr/include/pcap
27 make DESTDIR="${pkgdir}" install
29 # install GPL2 license
30 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${_realname}/LICENSE