wok-current view nmap/receipt @ rev 14281
Add perl-lchown
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 15:40:02 2013 +0200 (2013-04-06) |
parents | 4020a4ad7d5d |
children | 02efefc5d9de |
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="6.25"
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 patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
19 ./configure \
20 --cache-file=$PWD/config.cache \
21 --without-liblua \
22 $CONFIGURE_ARGS &&
23 make 2>&1 | grep -v makefile.dep &&
24 make DESTDIR=$DESTDIR 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
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/nmap $fs/usr/share
33 }