From 473db95ffd7aae42d29c9985385f39c14ffc0b56 Mon Sep 17 00:00:00 2001 From: Christophe BERAUD-DUFOUR Date: Wed, 5 Jul 2017 19:32:49 +0200 Subject: testing/yubico-piv-tool: new aport https://developers.yubico.com/yubico-piv-tool PIV Tools for Yubikey (generate keys, import certificates, etc). [TT: fix indent, add check(), split -dev, --disable-static] --- testing/yubico-piv-tool/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 testing/yubico-piv-tool/APKBUILD (limited to 'testing') diff --git a/testing/yubico-piv-tool/APKBUILD b/testing/yubico-piv-tool/APKBUILD new file mode 100644 index 0000000000..dec92431ba --- /dev/null +++ b/testing/yubico-piv-tool/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Christophe BERAUD-DUFOUR +# Maintainer: Christophe BERAUD-DUFOUR +pkgname=yubico-piv-tool +pkgver=1.4.3 +pkgrel=1 +pkgdesc="PIV Tools for yubikey" +url="https://developers.yubico.com/yubico-piv-tool" +arch="all" +license="BSD" +depends="" +makedepends="libc-dev gcc libressl-dev libcrypto1.0 libressl2.5-libcrypto pcsc-lite-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-1.4.3.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="37e9691cf0ed7b9877ec2d51323f58801bf7b884fd3c64762a9421a017ca4ee2af7a1bb1b95b9657fdd8463dd9b93ae53de8ab390f71fb7635b332a5d2414632 yubico-piv-tool-1.4.3.tar.gz" -- cgit v1.2.3