wok-stable view nmap/receipt @ rev 12303

brasero: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 20 18:06:56 2012 +0200 (2012-06-20)
parents 02bbaa9d12ba
children
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="5.51"
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 cd $src
19 ./configure --cache-file=$PWD/config.cache \
20 --without-liblua $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install-nmap
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/nmap $fs/usr/share
33 }