wok-stable annotate nmap/receipt @ rev 4565
units: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 06 19:48:13 2009 +0000 (2009-12-06) |
parents | 7259edfa1011 |
children | bee79018e13a |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="nmap" |
erjo@1389 | 4 VERSION="4.76" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="The Network Mapper." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2460 | 8 DEPENDS="openssl pcre" |
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@184 | 18 ./configure --prefix=/usr \ |
erjo@184 | 19 --infodir=/usr/share/info \ |
erjo@184 | 20 --cache-file=$PWD/config.cache \ |
pascal@2460 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2460 | 22 make && |
erjo@180 | 23 make DESTDIR=$PWD/_pkg 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 |
erjo@184 | 30 |
erjo@180 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@184 | 32 cp -a $_pkg/usr/share/nmap $fs/usr/share |
erjo@184 | 33 |
erjo@180 | 34 strip -s $fs/usr/bin/* |
erjo@180 | 35 } |
erjo@180 | 36 |