wok-next view nmap/receipt @ rev 19500

slitaz-i18n: skip locale packages yet not created (locale-fa and locale-vi).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 17 02:41:29 2016 +0200 (2016-11-17)
parents 02efefc5d9de
children c4e53a39395a
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 }