wok-6.x annotate nmap/receipt @ rev 23015

updated libcap, libcap-dev and libcap-pam (2.24 -> 2.33)
author Hans-G?nter Theisgen
date Tue Mar 03 11:11:03 2020 +0100 (2020-03-03)
parents 6e8b1bcb30e2
children 4ff97fb671ee
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="nmap"
Hans-G?nter@21546 4 VERSION="7.70"
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
erjo@180 40 }