wok-6.x annotate nmap/receipt @ rev 6060
attr: Upgrade to 2.4.44
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Fri Aug 20 23:04:39 2010 +0000 (2010-08-20) |
parents | bee79018e13a |
children | 3064d619fba9 |
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@5004 | 8 DEPENDS="openssl pcre gcc-lib-base" |
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" |
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 |
erjo@184 | 19 ./configure --prefix=/usr \ |
erjo@184 | 20 --infodir=/usr/share/info \ |
erjo@184 | 21 --cache-file=$PWD/config.cache \ |
pascal@2460 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2460 | 23 make && |
erjo@180 | 24 make DESTDIR=$PWD/_pkg 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 |
erjo@184 | 31 |
erjo@180 | 32 cp -a $_pkg/usr/bin $fs/usr |
erjo@184 | 33 cp -a $_pkg/usr/share/nmap $fs/usr/share |
erjo@184 | 34 |
erjo@180 | 35 strip -s $fs/usr/bin/* |
erjo@180 | 36 } |
erjo@180 | 37 |