wok-next diff openvas-administrator/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 380ffe05937a
children
line diff
     1.1 --- a/openvas-administrator/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/openvas-administrator/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -3,34 +3,33 @@
     1.4  PACKAGE="openvas-administrator"
     1.5  VERSION="1.0.1"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Network security scanner (administrator)."
     1.8 +SHORT_DESC="Network security scanner (administrator)"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="http://www.openvas.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://www.openvas.org/"
    1.15  WGET_URL="http://wald.intevation.org/frs/download.php/828/$TARBALL"
    1.16 -CONFIG_FILES="/etc/openvas"
    1.17  
    1.18 -DEPENDS="openvas-libraries util-linux-uuid"
    1.19  BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \
    1.20  gnutls-dev cmake glib-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	cd $src
    1.26 +compile_rules() {
    1.27  	sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c
    1.28 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
    1.29 -		-DLOCALSTATEDIR=/var
    1.30 +
    1.31 +	cmake \
    1.32 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.33 +		-DSYSCONF_INSTALL_DIR=/etc \
    1.34 +		-DLOCALSTATEDIR=/var \
    1.35 +		. &&
    1.36  	make &&
    1.37 -	make DESTDIR=$DESTDIR install
    1.38 +	make DESTDIR=$install install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 +genpkg_rules() {
    1.45  	mkdir -p $fs/usr
    1.46  	cp -a $install/etc $fs
    1.47  	cp -a $install/usr/sbin $fs/usr
    1.48 +	DEPENDS="openvas-libraries util-linux-uuid"
    1.49 +	CONFIG_FILES="/etc/openvas"
    1.50  }
    1.51 -