wok diff openvas-administrator/receipt @ rev 19709

ntfs-3g: no cp + wildcard + absolute links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 15 15:15:00 2017 +0100 (2017-02-15)
parents 781f09eb4bb3
children 86cbb0030041
line diff
     1.1 --- a/openvas-administrator/receipt	Tue May 29 18:33:42 2012 +0200
     1.2 +++ b/openvas-administrator/receipt	Wed Feb 15 15:15:00 2017 +0100
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Network security scanner (administrator)."
     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/828/$TARBALL"
    1.11 +CONFIG_FILES="/etc/openvas"
    1.12 +
    1.13  DEPENDS="openvas-libraries util-linux-uuid"
    1.14  BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \
    1.15  gnutls-dev cmake glib-dev"
    1.16 -CONFIG_FILES="/etc/openvas"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -21,14 +23,14 @@
    1.21  	cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
    1.22  		-DLOCALSTATEDIR=/var
    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/usr/sbin $fs/usr
    1.34 +	cp -a $install/etc $fs
    1.35 +	cp -a $install/usr/sbin $fs/usr
    1.36  }
    1.37