wok-next diff openvas-manager/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 | df06598bc52a |
children |
line diff
1.1 --- a/openvas-manager/receipt Fri Nov 24 20:28:53 2017 +0100 1.2 +++ b/openvas-manager/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -1,35 +1,36 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="openvas-manager" 1.8 VERSION="6.0.11" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Network security scanner (manager)." 1.11 +SHORT_DESC="Network security scanner (manager)" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.openvas.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.openvas.org/" 1.18 WGET_URL="http://wald.intevation.org/frs/download.php/2445/$TARBALL" 1.19 -CONFIG_FILES="/etc/openvas /var/lib/openvas" 1.20 1.21 -DEPENDS="libgnutls libsqlite openvas-libraries" 1.22 -BUILD_DEPENDS="openvas-libraries openvas-libraries-dev pkg-config doxygen \ 1.23 -cmake gnutls gnutls-dev sqlite3 sqlite3-dev glib-dev libgcrypt-dev gpgme-dev" 1.24 +BUILD_DEPENDS="cmake openvas-libraries-dev glib-dev gnutls-dev sqlite3-dev \ 1.25 +libgcrypt-dev gpgme-dev doxygen" 1.26 1.27 -# Rules to configure and make the package. 1.28 -compile_rules() 1.29 -{ 1.30 - cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \ 1.31 - -DLOCALSTATEDIR=/var 1.32 +compile_rules() { 1.33 + mkdir -p build 1.34 + cd build 1.35 + cmake \ 1.36 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.37 + -DSYSCONF_INSTALL_DIR=/etc \ 1.38 + -DLOCALSTATEDIR=/var \ 1.39 + -DCMAKE_BUILD_TYPE=Release \ 1.40 + .. && 1.41 make && 1.42 - make DESTDIR=$DESTDIR install 1.43 + make install 1.44 } 1.45 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 - mkdir -p $fs/usr/share 1.50 - cp -a $install/etc $fs 1.51 - cp -a $install/var $fs 1.52 - cp -a $install/usr/sbin $fs/usr 1.53 - cp -a $install/usr/share/openvas $fs/usr/share 1.54 +genpkg_rules() { 1.55 + copy @std 1.56 + DEPENDS="glib gpgme libassuan libgcrypt libgnutls libgpg-error libsqlite3 \ 1.57 + openvas-libraries" 1.58 + CONFIG_FILES="/etc/openvas/openvasmd_log.conf /etc/openvas/pwpolicy.conf \ 1.59 +/var/lib/openvas/" 1.60 }