wok-6.x diff openvas-client/receipt @ rev 15949
compton: avoid source tarball collisions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 12:17:31 2014 +0000 (2014-02-23) |
parents | 73641efed1cc |
children | febd8d7de57b |
line diff
1.1 --- a/openvas-client/receipt Mon Apr 23 16:30:27 2012 +0200 1.2 +++ b/openvas-client/receipt Sun Feb 23 12:17:31 2014 +0000 1.3 @@ -5,13 +5,15 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Network security scanner (client)." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://www.openvas.org/" 1.10 WGET_URL="http://wald.intevation.org/frs/download.php/757/$TARBALL" 1.11 +CONFIG_FILES="/etc/openvas" 1.12 + 1.13 DEPENDS="openvas-libraries gtk+" 1.14 BUILD_DEPENDS="util-linux-uuid libpcap openvas-libraries openvas-libraries-dev \ 1.15 libgd-dev libpng-dev pkg-config gtk+-dev gnutls-dev" 1.16 -CONFIG_FILES="/etc/openvas" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 @@ -22,13 +24,13 @@ 1.21 $CONFIGURE_ARGS || return 1 1.22 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|' 1.23 make && 1.24 - make DESTDIR=$PWD/_pkg install 1.25 + make DESTDIR=$DESTDIR install 1.26 } 1.27 1.28 # Rules to gen a SliTaz package suitable for Tazpkg. 1.29 genpkg_rules() 1.30 { 1.31 mkdir -p $fs/usr 1.32 - cp -a $_pkg/usr/bin $fs/usr 1.33 - cp -a $_pkg/etc $fs 1.34 + cp -a $install/usr/bin $fs/usr 1.35 + cp -a $install/etc $fs 1.36 }