diff options
Diffstat (limited to 'testing/yubico-piv-tool')
-rw-r--r-- | testing/yubico-piv-tool/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
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 <christophe.berauddufour@gmail.com> +# Maintainer: Christophe BERAUD-DUFOUR <christophe.berauddufour@gmail.com> +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" |