wok view nmap/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (10 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 }