wok annotate nmap/receipt @ rev 24144
ventoy: use web interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 09:45:35 2021 +0000 (2021-11-17) |
parents | 4ff97fb671ee |
children | 2a0479881723 |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="nmap" |
Hans-G?nter@23246 | 4 VERSION="7.80" |
erjo@180 | 5 CATEGORY="security" |
Hans-G?nter@21546 | 6 TAGS="network" |
erjo@180 | 7 SHORT_DESC="The Network Mapper." |
erjo@784 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@15003 | 9 LICENSE="GPL2" |
Hans-G?nter@21546 | 10 WEB_SITE="https://nmap.org/" |
Hans-G?nter@21546 | 11 |
erjo@180 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21546 | 13 WGET_URL="${WEB_SITE}dist/$TARBALL" |
Hans-G?nter@21546 | 14 |
Hans-G?nter@21546 | 15 DEPENDS="gcc-lib-base libpcap openssl pcre" |
Hans-G?nter@21546 | 16 BUILD_DEPENDS="libpcap-dev openssl-dev pcre-dev python-dev" |
Hans-G?nter@21546 | 17 |
pankso@16449 | 18 HOST_ARCH="i486 arm" |
erjo@180 | 19 |
erjo@180 | 20 # Rules to configure and make the package. |
erjo@180 | 21 compile_rules() |
erjo@180 | 22 { |
Hans-G?nter@21546 | 23 # patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch |
Hans-G?nter@21546 | 24 |
Hans-G?nter@21546 | 25 ./configure \ |
Hans-G?nter@21546 | 26 --cache-file=$PWD/config.cache \ |
Hans-G?nter@21546 | 27 --without-liblua \ |
samuel_trassare@14115 | 28 $CONFIGURE_ARGS && |
pascal@14121 | 29 make 2>&1 | grep -v makefile.dep && |
slaxemulator@8363 | 30 make DESTDIR=$DESTDIR install-nmap |
erjo@180 | 31 } |
erjo@180 | 32 |
erjo@180 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 34 genpkg_rules() |
erjo@180 | 35 { |
Hans-G?nter@21546 | 36 mkdir -p $fs/usr/share |
Hans-G?nter@21546 | 37 |
Hans-G?nter@21546 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21546 | 39 cp -a $install/usr/share/nmap $fs/usr/share |
pascal@23957 | 40 cp -a $src/ncat/docs/ncat.1 $install/usr/share/man/man1 |
erjo@180 | 41 } |