wok view nmap/receipt @ rev 8277

boxbackup-client: Switch openssl depends to libssl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Jan 30 20:40:51 2011 +0100 (2011-01-30)
parents 209f2ed52094
children e1403dacd137
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="5.50"
5 CATEGORY="security"
6 SHORT_DESC="The Network Mapper."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="openssl lua libpcap pcre gcc-lib-base"
9 BUILD_DEPENDS="$DEPENDS libpcap-dev python-dev lua-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 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --cache-file=$PWD/config.cache \
22 --mandir=/usr/share/man \
23 --without-liblua $CONFIGURE_ARGS &&
24 make -j 4 &&
25 make DESTDIR=$PWD/_pkg install-nmap
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/nmap $fs/usr/share
36 strip -s $fs/usr/bin/*
37 }