CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nmap: initial import (verified compilation).
[attic/ports/opt-cross.git] / nmap / Pkgfile
CommitLineData
a7eef204
VM
1# Description: Utility for network exploration or security auditing
2# URL: http://nmap.org
3# Packager: sten, nick dot steeves at shaw dot ca
4# Maintainer: Thomas Penteker, tek at serverop dot de
5# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
6# Depends on: openssl
7
8name=nmap
9version=5.21
10release=1
11source=(http://nmap.org/dist/$name-$version.tar.bz2)
12
13build () {
14 cd $name-$version
15 echo "ac_cv_linux_vers=2" > config.cache
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --disable-nls \
20 --libexecdir=/usr/lib \
21 --mandir=/usr/man \
22 --with-openssl \
23 --with-libdnet=included \
24 --with-libpcre=included \
25 --with-liblua=included \
26 --with-libpcap=included \
27 --with-pcap=linux \
28 --without-liblua \
29 --without-ndiff \
30 --without-zenmap \
31 --without-ncat \
32 --cache-file=config.cache
33 make AR="$AR" RANLIB="$RANLIB"
34 make DESTDIR=$PKG install
35 rm -rf $PKG/usr/man/man1/zenmap.*
36}