wok-6.x annotate nmap/receipt @ rev 14115
nmap: up 6.25
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Sun Feb 24 15:58:03 2013 -0800 (2013-02-24) |
parents | 506f5658c490 |
children | 1626c8239803 |
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" |
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 { |
samuel_trassare@14115 | 18 ./configure \ |
samuel_trassare@14115 | 19 --cache-file=$PWD/config.cache \ |
samuel_trassare@14115 | 20 --without-liblua \ |
samuel_trassare@14115 | 21 $CONFIGURE_ARGS && |
slaxemulator@8363 | 22 make && |
slaxemulator@8363 | 23 make DESTDIR=$DESTDIR install-nmap |
erjo@180 | 24 } |
erjo@180 | 25 |
erjo@180 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 27 genpkg_rules() |
erjo@180 | 28 { |
erjo@184 | 29 mkdir -p $fs/usr $fs/usr/share |
samuel_trassare@14115 | 30 cp -a $install/usr/bin $fs/usr |
samuel_trassare@14115 | 31 cp -a $install/usr/share/nmap $fs/usr/share |
erjo@180 | 32 } |
erjo@180 | 33 |