wok-6.x annotate nmap/receipt @ rev 9040
Up: tazwok 4.2.4
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 04 02:43:18 2011 +0100 (2011-03-04) |
parents | e1403dacd137 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="nmap" |
slaxemulator@8521 | 4 VERSION="5.51" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="The Network Mapper." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@8363 | 8 DEPENDS="openssl libpcap pcre gcc-lib-base" |
slaxemulator@8363 | 9 BUILD_DEPENDS="$DEPENDS libpcap-dev python-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 |
slaxemulator@8363 | 19 ./configure --cache-file=$PWD/config.cache \ |
slaxemulator@8363 | 20 --without-liblua && |
slaxemulator@8363 | 21 make && |
slaxemulator@8363 | 22 make DESTDIR=$DESTDIR install-nmap |
erjo@180 | 23 } |
erjo@180 | 24 |
erjo@180 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 26 genpkg_rules() |
erjo@180 | 27 { |
erjo@184 | 28 mkdir -p $fs/usr $fs/usr/share |
erjo@184 | 29 |
erjo@180 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@184 | 31 cp -a $_pkg/usr/share/nmap $fs/usr/share |
erjo@184 | 32 |
erjo@180 | 33 strip -s $fs/usr/bin/* |
erjo@180 | 34 } |
erjo@180 | 35 |