wok view nmap/receipt @ rev 8429
Up: mc to 4.7.5.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 21:51:01 2011 +0000 (2011-02-05) |
parents | 6d38ede420a7 |
children | dc6a2b74df53 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="5.21"
5 CATEGORY="security"
6 SHORT_DESC="The Network Mapper."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="openssl libpcap pcre gcc-lib-base"
9 BUILD_DEPENDS="$DEPENDS libpcap-dev python-dev openssl-dev pcre-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://nmap.org/"
12 WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL"
13 TAGS="network"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --cache-file=$PWD/config.cache \
20 --without-liblua &&
21 make &&
22 make DESTDIR=$DESTDIR install-nmap
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/nmap $fs/usr/share
33 strip -s $fs/usr/bin/*
34 }