wok view nmap/receipt @ rev 9713
glibc: make it built with cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 23:21:20 2011 +0200 (2011-05-08) |
parents | dc6a2b74df53 |
children | ac3ba79fed17 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="5.51"
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 }