aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yubico-c-client/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-27 22:35:32 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-27 22:44:52 +0200
commitcbbea8e587a88f01d3d668de2ba9ddf7df1c7e51 (patch)
tree1340efe72f49680b2a189d78f9306690fd14aed5 /testing/yubico-c-client/APKBUILD
parent48db90a100e810ec0a1cfb311e50755655a5fc30 (diff)
downloadaports-cbbea8e587a88f01d3d668de2ba9ddf7df1c7e51.tar.bz2
aports-cbbea8e587a88f01d3d668de2ba9ddf7df1c7e51.tar.xz
testing/yubico-c-client: new aport
Diffstat (limited to 'testing/yubico-c-client/APKBUILD')
-rw-r--r--testing/yubico-c-client/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/yubico-c-client/APKBUILD b/testing/yubico-c-client/APKBUILD
new file mode 100644
index 0000000000..05ea581ae9
--- /dev/null
+++ b/testing/yubico-c-client/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=yubico-c-client
+pkgver=2.15
+pkgrel=0
+pkgdesc="Yubico C client library"
+url="https://developers.yubico.com/yubico-c-client/"
+arch="all"
+license="BSD-2-Clause"
+makedepends="curl-dev help2man"
+options="!check" # test hardcoded signatures on yubico API that aren't valid anymore
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
+source="https://developers.yubico.com/yubico-c-client/Releases/ykclient-$pkgver.tar.gz"
+builddir="$srcdir/ykclient-$pkgver"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a6e00309330225c681702616aa9f5d7e042f33a22ebe7719c2d71276f1a660ed0dc180d7f50c24b1c65d7bba6e2f2285d03037d504e926ac75506c24e6826279 ykclient-2.15.tar.gz"