wok view nmap/receipt @ rev 6390

Fixed openssl and nmap. Added depends that are need for nmap to build. Enable md2 in openssl to fix nmap compiling problems.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 23 22:53:20 2010 +0000 (2010-09-23)
parents 3064d619fba9
children 209f2ed52094
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="5.21"
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 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 }