wok-4.x view nmap/receipt @ rev 11767
up zsh (4.3.15) and added description
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 22 18:09:49 2012 -0800 (2012-02-22) |
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 }