updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / nmap-dev / PKGBUILD
blobddf39c428188ebac0573771df57bc23b8ee97d37
1 # Maintainer: Vlatko Kosturjak <kost@linux.hr>
2 # Based on PKGBUILD from: Hugo Doria <ly50247@gmail.com>
4 pkgname=nmap-dev
5 pkgver=5.61TEST2
6 pkgrel=1
7 pkgdesc="A network exploration tool and security/port scanner, development version"
8 _realname=nmap
9 arch=('i686' 'x86_64')
10 url="http://nmap.org"
11 license=('GPL')
12 depends=('pcre' 'openssl' 'libpcap>=1.0.0' 'lua')
13 options=('!makeflags')
14 provides=('nmap')
15 conflicts=('nmap')
16 source=(http://nmap.org/dist/${_realname}-${pkgver}.tar.bz2)
18 build() {
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
23   make || return 1
24   make DESTDIR="${pkgdir}" install
26   # install GPL2 license
27   install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${_realname}/LICENSE
29 md5sums=('0e045628c00a9219ac1111ea6e9986e6')