wok-4.x view nmap/receipt @ rev 650

Add: xsane (graphical frontend to sane)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 22 21:35:05 2008 +0200 (2008-04-22)
parents 8def7e2ff3e5
children a075ff895254
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="4.53"
5 CATEGORY="security"
6 SHORT_DESC="The Network Mapper."
7 MAINTAINER="Erjo <erjo@slitaz.org>"
8 DEPENDS="openssl"
9 BUILD_DEPENDS="python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://nmap.org/"
12 WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --cache-file=$PWD/config.cache \
21 --mandir=/usr/share/man $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg 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
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/nmap $fs/usr/share
35 strip -s $fs/usr/bin/*
36 }