wok-6.x view nmap/receipt @ rev 24623
updated graphviz, graphviz-dev and graphviz-doc again (2.42.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:41:52 2022 +0100 (2022-03-07) |
parents | 4d0bb1c9d828 |
children | 62e9d2aace40 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="7.80"
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 DESTDIR=$DESTDIR install-nmap
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 }