contrib/nmap/Pkgfile
2022-09-03 22:30:44 +02:00

28 lines
588 B
Plaintext

# Description: Utility for network exploration or security auditing
# URL: https://nmap.org
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libpcap lua
name=nmap
version=7.93
release=1
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 '{}' \+
}