wok view nmap/receipt @ rev 14120

nmap: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 25 18:23:11 2013 +0100 (2013-02-25)
parents 589cbe28ac3a
children cfa40764d70e
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 | 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 }