wok-next view nmap/receipt @ rev 19437
compiz-ccsm, xvkbd: check depends, tried to fix startup with some locales
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Oct 09 18:56:56 2016 +0300 (2016-10-09) |
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 }