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

Update some bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 15 09:20:58 2018 +0100 (2018-12-15)
parents 02efefc5d9de
children 6e8b1bcb30e2
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="nmap"
samuel_trassare@14115 4 VERSION="6.25"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="The Network Mapper."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15003 8 LICENSE="GPL2"
erjo@180 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@180 10 WEB_SITE="http://nmap.org/"
erjo@180 11 WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL"
jozee@4969 12 TAGS="network"
pankso@16449 13 HOST_ARCH="i486 arm"
erjo@180 14
pascal@15003 15 DEPENDS="openssl libpcap pcre gcc-lib-base"
pankso@16449 16 BUILD_DEPENDS="libpcap-dev python-dev openssl-dev pcre-dev"
pascal@15003 17
erjo@180 18 # Rules to configure and make the package.
erjo@180 19 compile_rules()
erjo@180 20 {
samuel_trassare@14119 21 patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
samuel_trassare@14115 22 ./configure \
samuel_trassare@14115 23 --cache-file=$PWD/config.cache \
samuel_trassare@14115 24 --without-liblua \
samuel_trassare@14115 25 $CONFIGURE_ARGS &&
pascal@14121 26 make 2>&1 | grep -v makefile.dep &&
slaxemulator@8363 27 make DESTDIR=$DESTDIR install-nmap
erjo@180 28 }
erjo@180 29
erjo@180 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 31 genpkg_rules()
erjo@180 32 {
erjo@184 33 mkdir -p $fs/usr $fs/usr/share
samuel_trassare@14115 34 cp -a $install/usr/bin $fs/usr
samuel_trassare@14115 35 cp -a $install/usr/share/nmap $fs/usr/share
erjo@180 36 }
erjo@180 37