wok-4.x view nmap/receipt @ rev 7931

Up: slitaz-tools (4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 13:40:16 2011 +0100 (2011-01-11)
parents 3dc6e4b6990a
children 6d38ede420a7
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 lua libpcap pcre gcc-lib-base"
9 BUILD_DEPENDS="$DEPENDS libpcap-dev python-dev lua-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 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --cache-file=$PWD/config.cache \
22 --mandir=/usr/share/man \
23 --without-liblua $CONFIGURE_ARGS &&
24 make -j 4 &&
25 make DESTDIR=$PWD/_pkg install-nmap
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/nmap $fs/usr/share
36 strip -s $fs/usr/bin/*
37 }