contrib/nmap/Pkgfile

24 lines
623 B
Plaintext
Raw Normal View History

2009-01-12 23:29:33 +01:00
# Description: Utility for network exploration or security auditing
2020-06-01 17:45:48 +02:00
# URL: https://nmap.org
2009-01-12 23:29:33 +01:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: sten, nick dot steeves at shaw dot ca
# Depends on: libpcap
2009-01-12 23:29:33 +01:00
name=nmap
2020-10-21 10:41:54 +02:00
version=7.91
release=1
2020-01-20 16:19:30 +01:00
source=(https://nmap.org/dist/$name-$version.tar.bz2)
2009-01-12 23:29:33 +01:00
build () {
cd $name-$version
2020-01-20 16:19:30 +01:00
./configure --prefix=/usr --libexecdir=/usr/lib \
2009-01-12 23:29:33 +01:00
--with-libpcre=included --with-liblua=included \
2014-05-13 12:04:10 +02:00
--without-zenmap --without-ndiff --disable-nls \
--without-nmap-update
2012-05-21 23:27:02 +02:00
2009-01-12 23:29:33 +01:00
make
2014-05-13 12:04:10 +02:00
make DESTDIR=$PKG install
2020-07-10 13:41:18 +02:00
find $PKG -iname '*readme*' -exec rm -fr '{}' \+
2009-01-12 23:29:33 +01:00
}