aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-cli
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-12-13 18:40:54 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-12-13 18:40:54 +0000
commit7611aeef440c081a39babe105237a0add0b70f86 (patch)
tree30a0b0135b2728cca0be89b1961579b9b16bb272 /community/openvas-cli
parentc700a0796018ce44b7af3adb152639d16a7fdf99 (diff)
downloadaports-7611aeef440c081a39babe105237a0add0b70f86.tar.bz2
aports-7611aeef440c081a39babe105237a0add0b70f86.tar.xz
community/openvas-cli: modified makedepends
- renamed openvas-libraries-dev to gvm-libs-dev - added missing dependencies
Diffstat (limited to 'community/openvas-cli')
-rw-r--r--community/openvas-cli/APKBUILD18
1 files 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 <fcolista@alpinelinux.org>
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() {