wok-next view openvas-manager/receipt @ rev 20566
linld, screenfetch: create $install tree (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 10:30:46 2018 +0200 (2018-04-10) |
parents | df06598bc52a |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openvas-manager"
4 VERSION="6.0.11"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (manager)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openvas.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://wald.intevation.org/frs/download.php/2445/$TARBALL"
14 BUILD_DEPENDS="cmake openvas-libraries-dev glib-dev gnutls-dev sqlite3-dev \
15 libgcrypt-dev gpgme-dev doxygen"
17 compile_rules() {
18 mkdir -p build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DSYSCONF_INSTALL_DIR=/etc \
23 -DLOCALSTATEDIR=/var \
24 -DCMAKE_BUILD_TYPE=Release \
25 .. &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="glib gpgme libassuan libgcrypt libgnutls libgpg-error libsqlite3 \
33 openvas-libraries"
34 CONFIG_FILES="/etc/openvas/openvasmd_log.conf /etc/openvas/pwpolicy.conf \
35 /var/lib/openvas/"
36 }