wok-current view nmap/receipt @ rev 6378
Up: nmap to 5.21.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 21 12:27:08 2010 +0000 (2010-09-21) |
parents | 5b44af8c1257 |
children | 3dc6e4b6990a |
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 pcre gcc-lib-base"
9 BUILD_DEPENDS="python-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 $CONFIGURE_ARGS &&
23 make -j 4 &&
24 make DESTDIR=$PWD/_pkg install-nmap
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/nmap $fs/usr/share
35 strip -s $fs/usr/bin/*
36 }