wok-4.x annotate nmap/receipt @ rev 180
Add : libgp-error, lbgcrypt, gnutls for pidgin/SSL support.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Feb 05 00:17:05 2008 +0100 (2008-02-05) |
parents | |
children | 8def7e2ff3e5 |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="nmap" |
erjo@180 | 4 VERSION="4.53" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="The Network Mapper." |
erjo@180 | 7 MAINTAINER="Erjo <erjo@slitaz.org>" |
erjo@180 | 8 DEPENDS="" |
erjo@180 | 9 BUILD_DEPENDS="python-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" |
erjo@180 | 13 |
erjo@180 | 14 # Rules to configure and make the package. |
erjo@180 | 15 compile_rules() |
erjo@180 | 16 { |
erjo@180 | 17 cd $src |
erjo@180 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@180 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@180 | 20 make |
erjo@180 | 21 make DESTDIR=$PWD/_pkg install-nmap |
erjo@180 | 22 } |
erjo@180 | 23 |
erjo@180 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 25 genpkg_rules() |
erjo@180 | 26 { |
erjo@180 | 27 mkdir -p $fs/usr |
erjo@180 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@180 | 29 strip -s $fs/usr/bin/* |
erjo@180 | 30 } |
erjo@180 | 31 |