wok diff openvas-scanner/receipt @ rev 17735

dahdi-linux: save firmware as source (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 12:02:31 2015 +0100 (2015-03-06)
parents 02cc67a2115f
children 9e01bc6321ea
line diff
     1.1 --- a/openvas-scanner/receipt	Sun Apr 29 11:48:15 2012 +0200
     1.2 +++ b/openvas-scanner/receipt	Fri Mar 06 12:02:31 2015 +0100
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Network security scanner (scanner)."
     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/684/$TARBALL"
    1.11 +CONFIG_FILES="/var/lib/openvas /etc/openvas"
    1.12 +
    1.13  DEPENDS="openvas-libraries openssl"
    1.14  BUILD_DEPENDS="libpcap libpcap-dev util-linux-uuid openvas-libraries \
    1.15  openvas-libraries-dev pkg-config gnutls-dev glib-dev"
    1.16 -CONFIG_FILES="/var/lib/openvas /etc/openvas"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -22,17 +24,17 @@
    1.21  	--mandir=/usr/share/man \
    1.22  	$CONFIGURE_ARGS &&
    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/etc $fs
    1.33 -	cp -a $_pkg/var $fs
    1.34 -	cp -a $_pkg/usr/bin $fs/usr
    1.35 -	cp -a $_pkg/usr/sbin $fs/usr
    1.36 +	cp -a $install/etc $fs
    1.37 +	cp -a $install/var $fs
    1.38 +	cp -a $install/usr/bin $fs/usr
    1.39 +	cp -a $install/usr/sbin $fs/usr
    1.40  }
    1.41  
    1.42  post_install()