wok-next diff nmap/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | c4e53a39395a |
children | 1eb4aacb48ed |
line diff
1.1 --- a/nmap/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/nmap/receipt Wed Mar 21 15:58:17 2018 +0200 1.3 @@ -1,36 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="nmap" 1.8 VERSION="6.25" 1.9 CATEGORY="security" 1.10 -SHORT_DESC="The Network Mapper." 1.11 +SHORT_DESC="The Network Mapper" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://nmap.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://nmap.org/" 1.18 WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL" 1.19 -TAGS="network" 1.20 1.21 -DEPENDS="openssl libpcap pcre gcc-lib-base" 1.22 BUILD_DEPENDS="libpcap-dev python-dev openssl-dev pcre-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch 1.29 + 1.30 ./configure \ 1.31 --cache-file=$PWD/config.cache \ 1.32 - --without-liblua \ 1.33 + --without-liblua \ 1.34 $CONFIGURE_ARGS && 1.35 - make 2>&1 | grep -v makefile.dep && 1.36 + make && 1.37 make DESTDIR=$DESTDIR install-nmap 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr $fs/usr/share 1.44 - cp -a $install/usr/bin $fs/usr 1.45 - cp -a $install/usr/share/nmap $fs/usr/share 1.46 +genpkg_rules() { 1.47 + copy @std 1.48 + DEPENDS="openssl libpcap pcre gcc-lib-base" 1.49 + TAGS="network" 1.50 } 1.51 -