wok-6.x view nmap/receipt @ rev 23644

openal: added LDFLAGS
author Hans-G?nter Theisgen
date Mon Apr 20 13:36:35 2020 +0100 (2020-04-20)
parents 7841119a230d
children 4d0bb1c9d828
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 }