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

raine: create make.dep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 22:18:58 2013 +0000 (2013-08-14)
parents cfa40764d70e
children 95324ca5396c
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"
erjo@180 13
pascal@15003 14 DEPENDS="openssl libpcap pcre gcc-lib-base"
pascal@15003 15 BUILD_DEPENDS="$DEPENDS libpcap-dev python-dev openssl-dev pcre-dev"
pascal@15003 16
erjo@180 17 # Rules to configure and make the package.
erjo@180 18 compile_rules()
erjo@180 19 {
samuel_trassare@14119 20 patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
samuel_trassare@14115 21 ./configure \
samuel_trassare@14115 22 --cache-file=$PWD/config.cache \
samuel_trassare@14115 23 --without-liblua \
samuel_trassare@14115 24 $CONFIGURE_ARGS &&
pascal@14121 25 make 2>&1 | grep -v makefile.dep &&
slaxemulator@8363 26 make DESTDIR=$DESTDIR install-nmap
erjo@180 27 }
erjo@180 28
erjo@180 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 30 genpkg_rules()
erjo@180 31 {
erjo@184 32 mkdir -p $fs/usr $fs/usr/share
samuel_trassare@14115 33 cp -a $install/usr/bin $fs/usr
samuel_trassare@14115 34 cp -a $install/usr/share/nmap $fs/usr/share
erjo@180 35 }
erjo@180 36