diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-02 17:09:34 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-02 17:09:45 +0100 |
commit | 386672069b87806e54f77c6a6462fc044f4e26fc (patch) | |
tree | 57e66b90358006812ac242dcd1118c5730bd367c /testing | |
parent | c2c6b18e6602a8abcc9a63e02accee4570b26550 (diff) | |
download | aports-386672069b87806e54f77c6a6462fc044f4e26fc.tar.bz2 aports-386672069b87806e54f77c6a6462fc044f4e26fc.tar.xz |
testing/libu2f-server: new aport
https://developers.yubico.com/libu2f-server/
Yubico Universal 2nd Factor (U2F) Server C Library
Diffstat (limited to 'testing')
-rw-r--r-- | testing/libu2f-server/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/libu2f-server/APKBUILD b/testing/libu2f-server/APKBUILD new file mode 100644 index 0000000000..7a9fc0f768 --- /dev/null +++ b/testing/libu2f-server/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=libu2f-server +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Yubico Universal 2nd Factor (U2F) Server C Library" +url="https://developers.yubico.com/libu2f-server/" +arch="all" +license="BSD-2-Clause" +makedepends="check-dev gengetopt-dev help2man json-c-dev libressl-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://developers.yubico.com/libu2f-server/Releases/$pkgname-$pkgver.tar.xz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-tests + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="ebdb7c8c20727f37f4e31d8f16df7966603374f78478ada723a7b9bec1b0b0622caf6d12a65067ac8651f6088aaad61b2ad6ed51b9d6ef0dc45f031c974d8ff9 libu2f-server-1.1.0.tar.xz" |