diff options
Diffstat (limited to 'community/openvas-cli/APKBUILD')
-rw-r--r-- | community/openvas-cli/APKBUILD | 18 |
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() { |