wok-current view nmap/receipt @ rev 21129
zoneminder: jpeg 9 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 20 23:53:55 2019 +0100 (2019-03-20) |
parents | 95324ca5396c |
children | 7841119a230d |
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="https://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 }