wok view nmap/receipt @ rev 16126
Up xvkbd (3.5)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Mar 24 19:30:25 2014 +0000 (2014-03-24) |
parents | cfa40764d70e |
children | 95324ca5396c |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://nmap.org/"
11 WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL"
12 TAGS="network"
14 DEPENDS="openssl libpcap pcre gcc-lib-base"
15 BUILD_DEPENDS="$DEPENDS libpcap-dev python-dev openssl-dev pcre-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
21 ./configure \
22 --cache-file=$PWD/config.cache \
23 --without-liblua \
24 $CONFIGURE_ARGS &&
25 make 2>&1 | grep -v makefile.dep &&
26 make DESTDIR=$DESTDIR install-nmap
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/nmap $fs/usr/share
35 }