wok-6.x annotate nmap/receipt @ rev 14652
Add licenses, just for the seed (for example). Anyone can delete this.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 04 22:20:53 2013 +0000 (2013-06-04) |
parents | 4020a4ad7d5d |
children | 02efefc5d9de |
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@14119 | 18 patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch |
samuel_trassare@14115 | 19 ./configure \ |
samuel_trassare@14115 | 20 --cache-file=$PWD/config.cache \ |
samuel_trassare@14115 | 21 --without-liblua \ |
samuel_trassare@14115 | 22 $CONFIGURE_ARGS && |
pascal@14121 | 23 make 2>&1 | grep -v makefile.dep && |
slaxemulator@8363 | 24 make DESTDIR=$DESTDIR install-nmap |
erjo@180 | 25 } |
erjo@180 | 26 |
erjo@180 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 28 genpkg_rules() |
erjo@180 | 29 { |
erjo@184 | 30 mkdir -p $fs/usr $fs/usr/share |
samuel_trassare@14115 | 31 cp -a $install/usr/bin $fs/usr |
samuel_trassare@14115 | 32 cp -a $install/usr/share/nmap $fs/usr/share |
erjo@180 | 33 } |
erjo@180 | 34 |