wok-current view nmap/receipt @ rev 2602

netatalk: do not link pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 10 16:33:24 2009 +0000 (2009-04-10)
parents 7259edfa1011
children bee79018e13a
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="4.76"
5 CATEGORY="security"
6 SHORT_DESC="The Network Mapper."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="openssl pcre"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --cache-file=$PWD/config.cache \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install-nmap
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/nmap $fs/usr/share
34 strip -s $fs/usr/bin/*
35 }