wok-4.x view nmap/receipt @ rev 12375
Fix missing build-depends nux-module-headers
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Jan 24 10:27:57 2013 +0100 (2013-01-24) |
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 }