aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tpm2-tools/APKBUILD
blob: 2ccbfb6423acc38dfb06b1ded7372ccb2c52ddc5 (plain)
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
35
# Contributor: Alexander Sack <asac@pantacor.com>
# Maintainer: Alexander Sack <asac@pantacor.com>
pkgname="tpm2-tools"
pkgver="4.0"
pkgrel=0
pkgdesc="TPM2 Tools"
url="https://github.com/tpm2-software/tpm2-tools/"
arch="all"
license="BSD-2-Clause"
makedepends="tpm2-tss-dev automake autoconf autoconf-archive libtool openssl-dev
	doxygen linux-headers curl-dev"
subpackages="$pkgname-doc"
_sourcever="${pkgver/_/-}"
source="https://github.com/tpm2-software/tpm2-tools/releases/download/$_sourcever/tpm2-tools-$_sourcever.tar.gz"
builddir="$srcdir/$pkgname-$_sourcever"
options="!check"


prepare() {
	./bootstrap
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

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

sha512sums="c104ec8c6219329f8129c6d86337bcfa6eee8fc3023fe976eae6af2aecae5bf37c62523f5c48b680fd07e605431187c0493469544bbd902aedc21f66aa8af3b2  tpm2-tools-4.0.tar.gz"