wok view nmap/receipt @ rev 17763
slitaz-i18n: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 12 08:42:55 2015 +0100 (2015-03-12) |
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 }