wok rev 4655

openvas-administrator, openvas-manager: fix paths
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 27 18:13:37 2009 +0100 (2009-12-27)
parents 2244b6612427
children 413f698cf193
files openvas-administrator/receipt openvas-manager/receipt
line diff
     1.1 --- a/openvas-administrator/receipt	Sun Dec 27 18:11:20 2009 +0100
     1.2 +++ b/openvas-administrator/receipt	Sun Dec 27 18:13:37 2009 +0100
     1.3 @@ -10,12 +10,14 @@
     1.4  WGET_URL="http://wald.intevation.org/frs/download.php/686/$TARBALL"
     1.5  DEPENDS="openvas-libraries"
     1.6  BUILD_DEPENDS="openvas-libraries-dev openvas-libraries gnutls-dev cmake glib-dev"
     1.7 +CONFIG_FILES="/etc/openvas"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12  	cd $src
    1.13 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc
    1.14 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
    1.15 +		-DLOCALSTATEDIR=/var
    1.16  	make &&
    1.17  	make DESTDIR=$PWD/_pkg install
    1.18  }
     2.1 --- a/openvas-manager/receipt	Sun Dec 27 18:11:20 2009 +0100
     2.2 +++ b/openvas-manager/receipt	Sun Dec 27 18:13:37 2009 +0100
     2.3 @@ -11,12 +11,14 @@
     2.4  DEPENDS="openvas-libraries sqlite util-linux-ng-uuid"
     2.5  BUILD_DEPENDS="openvas-libraries openvas-libraries-dev pkg-config \
     2.6  util-linux-ng-uuid-dev doxygen cmake gnutls sqlite sqlite-dev"
     2.7 +CONFIG_FILES="/etc/openvas"
     2.8  
     2.9  # Rules to configure and make the package.
    2.10  compile_rules()
    2.11  {
    2.12  	cd $src
    2.13 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc
    2.14 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
    2.15 +		-DLOCALSTATEDIR=/var
    2.16  	make &&
    2.17  	make DESTDIR=$PWD/_pkg install
    2.18  }