aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yubico-piv-tool/APKBUILD
blob: 86d7176d3b09cfb915830c58060785b882be5811 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Christophe BERAUD-DUFOUR <christophe.berauddufour@gmail.com>
# Maintainer: Christophe BERAUD-DUFOUR <christophe.berauddufour@gmail.com>
pkgname=yubico-piv-tool
pkgver=1.7.0
pkgrel=0
pkgdesc="PIV Tools for yubikey"
url="https://developers.yubico.com/yubico-piv-tool"
arch="all"
license="BSD-2-Clause"
makedepends="openssl-dev pcsc-lite-dev"
checkdepends="check-dev bash"
subpackages="$pkgname-dev $pkgname-doc"
source="https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="3efb6ab8fa89a60df62f4da4fded6504c2abd16e7995481f6a7176bb9d79247bf79d69cccf2cea039442f0e4b108e74e5ab1e8c66d2089b57a88153a92df7485  yubico-piv-tool-1.7.0.tar.gz"