summaryrefslogtreecommitdiff
path: root/user/kyua/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/kyua/APKBUILD')
-rw-r--r--user/kyua/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/kyua/APKBUILD b/user/kyua/APKBUILD
new file mode 100644
index 000000000..ffa102b4c
--- /dev/null
+++ b/user/kyua/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer:
+pkgname=kyua
+pkgver=0.13
+pkgrel=1
+pkgdesc="Testing framework for infrastructure software"
+url="https://github.com/jmmv/kyua"
+arch="all"
+license="BSD-3-Clause"
+depends=""
+makedepends="atf-dev lutok-dev sqlite-dev"
+options="!check" # doesn't pass without sysctl tweaking.
+subpackages="$pkgname-doc"
+source="https://github.com/jmmv/kyua/releases/download/kyua-$pkgver/kyua-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="80ecf4fd888d4759122f3c1d1d5b06a19135e06f7bca1ef8458c7a5e78c1b6baff54969c863c93f11c40611ca256fc0334402531397b16788fb3ec701dd278ae kyua-0.13.tar.gz"