wok-current view nmap/receipt @ rev 7699

Up: bogofilter to 1.2.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 18 14:13:35 2010 +0000 (2010-12-18)
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 }