contrib/nmap/Pkgfile

28 lines
588 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
2021-02-01 11:47:07 +01:00
# Maintainer: Tim Biermann, tbier at posteo dot de
2022-09-03 22:30:44 +02:00
# Depends on: libpcap lua
2009-01-12 23:29:33 +01:00
name=nmap
2023-05-21 10:12:10 +02:00
version=7.94
2020-10-21 10:41:54 +02:00
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 () {
2021-02-01 11:47:07 +01:00
cd $name-$version
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--with-libpcre=included \
--with-liblua=included \
--without-zenmap \
--without-ndiff \
--disable-nls \
2014-05-13 12:04:10 +02:00
--without-nmap-update
2021-02-01 11:47:07 +01:00
make
make DESTDIR=$PKG install
2012-05-21 23:27:02 +02:00
2021-02-01 11:47:07 +01:00
find $PKG -iname '*readme*' -exec rm -fr '{}' \+
2009-01-12 23:29:33 +01:00
}