wok annotate nmap/receipt @ rev 6654

Added linux-api-headers. This is like linux-headers but it doesn't depend on linux to be build. Also this means we can update the kernel without rebuild the toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 11 02:17:02 2010 +0000 (2010-10-11)
parents 3064d619fba9
children 209f2ed52094
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="nmap"
slaxemulator@6378 4 VERSION="5.21"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="The Network Mapper."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@6390 8 DEPENDS="openssl lua libpcap pcre gcc-lib-base"
slaxemulator@6390 9 BUILD_DEPENDS="$DEPENDS python-dev lua-dev openssl-dev pcre-dev"
erjo@180 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@180 11 WEB_SITE="http://nmap.org/"
erjo@180 12 WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL"
jozee@4969 13 TAGS="network"
erjo@180 14
erjo@180 15 # Rules to configure and make the package.
erjo@180 16 compile_rules()
erjo@180 17 {
erjo@180 18 cd $src
erjo@184 19 ./configure --prefix=/usr \
erjo@184 20 --infodir=/usr/share/info \
erjo@184 21 --cache-file=$PWD/config.cache \
slaxemulator@6390 22 --mandir=/usr/share/man \
slaxemulator@6390 23 --without-liblua $CONFIGURE_ARGS &&
slaxemulator@6378 24 make -j 4 &&
erjo@180 25 make DESTDIR=$PWD/_pkg install-nmap
erjo@180 26 }
erjo@180 27
erjo@180 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 29 genpkg_rules()
erjo@180 30 {
erjo@184 31 mkdir -p $fs/usr $fs/usr/share
erjo@184 32
erjo@180 33 cp -a $_pkg/usr/bin $fs/usr
erjo@184 34 cp -a $_pkg/usr/share/nmap $fs/usr/share
erjo@184 35
erjo@180 36 strip -s $fs/usr/bin/*
erjo@180 37 }
erjo@180 38