wok-6.x view nmap/receipt @ rev 17217
Up: file (5.20).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 14 11:50:51 2014 +0300 (2014-10-14) |
parents | 02efefc5d9de |
children | 6e8b1bcb30e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="6.25"
5 CATEGORY="security"
6 SHORT_DESC="The Network Mapper."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://nmap.org/"
11 WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL"
12 TAGS="network"
13 HOST_ARCH="i486 arm"
15 DEPENDS="openssl libpcap pcre gcc-lib-base"
16 BUILD_DEPENDS="libpcap-dev python-dev openssl-dev pcre-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
22 ./configure \
23 --cache-file=$PWD/config.cache \
24 --without-liblua \
25 $CONFIGURE_ARGS &&
26 make 2>&1 | grep -v makefile.dep &&
27 make DESTDIR=$DESTDIR install-nmap
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/nmap $fs/usr/share
36 }