contrib/nmap/Pkgfile

26 lines
736 B
Plaintext
Raw Normal View History

2009-01-12 23:29:33 +01:00
# Description: Utility for network exploration or security auditing
# URL: http://nmap.org
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: sten, nick dot steeves at shaw dot ca
name=nmap
2010-01-30 19:07:56 +01:00
version=5.21
2009-01-12 23:29:33 +01:00
release=1
2009-09-07 22:40:35 +02:00
source=(http://ftp.uni-erlangen.de/mirrors/gentoo/distfiles/$name-$version.tar.bz2)
2009-01-12 23:29:33 +01:00
build () {
cd $name-$version
./configure --prefix=/usr --libexecdir=/usr/lib --mandir=/usr/man \
--with-libpcre=included --with-liblua=included \
2009-07-19 23:45:58 +02:00
--with-libpcap=included --without-zenmap \
2010-01-28 12:07:10 +01:00
--without-ndiff --disable-nls
2009-09-07 22:50:22 +02:00
#install -d $PKG/usr/share/nmap
2009-01-12 23:29:33 +01:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/man/man1/zenmap.*
2010-01-30 19:07:56 +01:00
rm -f $PKG/usr/share/nmap/nselib/data/psexec/README
2009-01-12 23:29:33 +01:00
}