wok-next annotate 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
rev   line source
al@20384 1 # SliTaz package receipt v2.
pascal@4652 2
pascal@4652 3 PACKAGE="openvas-manager"
pascal@20369 4 VERSION="6.0.11"
pascal@4652 5 CATEGORY="network"
al@20384 6 SHORT_DESC="Network security scanner (manager)"
pascal@4652 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20384 9 WEB_SITE="http://www.openvas.org/"
al@20384 10
pascal@4652 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20369 12 WGET_URL="http://wald.intevation.org/frs/download.php/2445/$TARBALL"
pascal@15000 13
al@20384 14 BUILD_DEPENDS="cmake openvas-libraries-dev glib-dev gnutls-dev sqlite3-dev \
al@20384 15 libgcrypt-dev gpgme-dev doxygen"
pascal@4652 16
al@20384 17 compile_rules() {
al@20384 18 mkdir -p build
al@20384 19 cd build
al@20384 20 cmake \
al@20384 21 -DCMAKE_INSTALL_PREFIX=/usr \
al@20384 22 -DSYSCONF_INSTALL_DIR=/etc \
al@20384 23 -DLOCALSTATEDIR=/var \
al@20384 24 -DCMAKE_BUILD_TYPE=Release \
al@20384 25 .. &&
pascal@4652 26 make &&
al@20384 27 make install
pascal@4652 28 }
pascal@4652 29
al@20384 30 genpkg_rules() {
al@20384 31 copy @std
al@20384 32 DEPENDS="glib gpgme libassuan libgcrypt libgnutls libgpg-error libsqlite3 \
al@20384 33 openvas-libraries"
al@20384 34 CONFIG_FILES="/etc/openvas/openvasmd_log.conf /etc/openvas/pwpolicy.conf \
al@20384 35 /var/lib/openvas/"
pascal@4652 36 }