wok view nmap/receipt @ rev 24999

updated nmap (7.80 -> 7.92)
author Hans-G?nter Theisgen
date Mon May 16 13:38:34 2022 +0100 (23 months ago)
parents 2a0479881723
children
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="7.92"
5 CATEGORY="security"
6 TAGS="network"
7 SHORT_DESC="The Network Mapper."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://nmap.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}dist/$TARBALL"
15 DEPENDS="gcc-lib-base libpcap openssl pcre"
16 BUILD_DEPENDS="libpcap-dev openssl-dev pcre-dev python-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
32 ./configure \
33 --cache-file=$PWD/config.cache \
34 --without-liblua \
35 $CONFIGURE_ARGS &&
36 make 2>&1 | grep -v makefile.dep &&
37 make install-nmap DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/nmap $fs/usr/share
47 cp -a $src/ncat/docs/ncat.1 $install/usr/share/man/man1
48 }