wok-current view nmap/receipt @ rev 24354

created recipe for py3k-dbus-1.2.18
author Hans-G?nter Theisgen
date Thu Feb 03 15:11:19 2022 +0100 (2022-02-03)
parents 4ff97fb671ee
children 2a0479881723
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="7.80"
5 CATEGORY="security"
6 TAGS="network"
7 SHORT_DESC="The Network Mapper."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://nmap.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}dist/$TARBALL"
15 DEPENDS="gcc-lib-base libpcap openssl pcre"
16 BUILD_DEPENDS="libpcap-dev openssl-dev pcre-dev python-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
25 ./configure \
26 --cache-file=$PWD/config.cache \
27 --without-liblua \
28 $CONFIGURE_ARGS &&
29 make 2>&1 | grep -v makefile.dep &&
30 make DESTDIR=$DESTDIR install-nmap
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/nmap $fs/usr/share
40 cp -a $src/ncat/docs/ncat.1 $install/usr/share/man/man1
41 }