aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2021-02-13 16:58:05 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2021-02-13 16:58:05 +0100
commit5f68a36432f1e31b6473af51d4c4ab522acea7ad (patch)
tree50cdf955324e596866c7869461b768a545f31417
parent7e083fdc1ed65679da4be334c8abe69d2fea6ec8 (diff)
downloadaports-5f68a36432f1e31b6473af51d4c4ab522acea7ad.tar.gz
aports-5f68a36432f1e31b6473af51d4c4ab522acea7ad.tar.bz2
aports-5f68a36432f1e31b6473af51d4c4ab522acea7ad.tar.xz
main/unbound: add check
-rw-r--r--main/unbound/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/unbound/APKBUILD b/main/unbound/APKBUILD
index 6adbadb463..e11949c4ad 100644
--- a/main/unbound/APKBUILD
+++ b/main/unbound/APKBUILD
@@ -13,8 +13,8 @@ depends="dns-root-hints dnssec-root"
depends_dev="expat-dev"
_depends_migrate="/bin/sh apk-tools dns-root-hints openrc"
makedepends="$depends_dev libevent-dev openssl-dev python3-dev swig linux-headers"
+checkdepends="bind-tools ldns-tools"
install="$pkgname.pre-install"
-options="!check"
pkgusers="unbound"
pkggroups="unbound"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-dbg
@@ -61,6 +61,10 @@ build() {
make
}
+check() {
+ make test
+}
+
package() {
make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" unbound-event-install