1
0
src/soft/nmap_7.80
2023-11-27 21:41:21 -07:00

20 lines
475 B
Bash

#!/bin/sh
NAME=nmap
VERSION=7.80
UPSTREAM=https://nmap.org/dist/nmap-7.80.tar.bz2
UPSTREAM_TYPE=custom
get_upstream(){
curl "$UPSTREAM" | bzip2 -cd | tar x -C "$PREFIX/src"
mv "$PREFIX/src/nmap-7.80" "$SRC"
}
. soft
# nmap 7.80 is the last Free nmap release
# depends on linux-headers
# had to # ln -s /bin/gmake "$PREFIX"/make
# with clang 16.0.6 aarch75-chimera-linux-musl, cannot compile (4 errors?)
sh -c 'cd "$SRC"; ./configure --prefix="$PREFIX"'
$GMAKE -C "$SRC"