contrib/nmap/Pkgfile

24 lines
623 B
Plaintext

# Description: Utility for network exploration or security auditing
# URL: https://nmap.org
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: sten, nick dot steeves at shaw dot ca
# Depends on: libpcap
name=nmap
version=7.80
release=2
source=(https://nmap.org/dist/$name-$version.tar.bz2)
build () {
cd $name-$version
./configure --prefix=/usr --libexecdir=/usr/lib \
--with-libpcre=included --with-liblua=included \
--without-zenmap --without-ndiff --disable-nls \
--without-nmap-update
make
make DESTDIR=$PKG install
find $PKG -iname '*readme*' -exec rm -fr '{}' \+
}