From 7611aeef440c081a39babe105237a0add0b70f86 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 13 Dec 2017 18:40:54 +0000 Subject: community/openvas-cli: modified makedepends - renamed openvas-libraries-dev to gvm-libs-dev - added missing dependencies --- community/openvas-cli/APKBUILD | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/community/openvas-cli/APKBUILD b/community/openvas-cli/APKBUILD index 134640c631..46e7d9fe1d 100644 --- a/community/openvas-cli/APKBUILD +++ b/community/openvas-cli/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: Francesco Colista pkgname=openvas-cli pkgver=1.4.5 -pkgrel=2 +pkgrel=3 _pkgid=2397 pkgdesc="The OpenVAS Command-Line Interface" url="http://www.openvas.org" arch="all" license="GPL" -makedepends="openvas-libraries-dev cmake doxygen xmltoman" +makedepends="gvm-libs-dev cmake doxygen xmltoman graphviz" subpackages="$pkgname-doc" source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz 001-fortify-source.patch" @@ -17,9 +17,17 @@ builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \ - -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var . - make || return 1 + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc \ + -DLOCALSTATEDIR=/var . + make +} + +check() { + cd "$builddir" + make test } package() { -- cgit v1.2.3