aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ibmswtpm2/APKBUILD
blob: b3130e03407c6730956220be69781dc235aa1bb8 (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
# Contributor: Olliver Schinagl <oliver@schinagl.nl>
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
pkgname="ibmswtpm2"
pkgver="1332"
pkgrel=0
pkgdesc="Software implementation of the TCG TPM 2.0 specification by IBM."
url="http://ibmswtpm.sourceforge.net/ibmswtpm2.html"
arch="all"
license="MIT"
makedepends="musl-dev openssl-dev"
options="!check"  # No selftest available
source="https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm${pkgver}.tar.gz"
builddir="${srcdir}/src"

build() {
	make
}

package() {
	install -D -m 655 -t "${pkgdir}/usr/bin" \
		"${builddir}/tpm_server"
}

sha512sums="63ef597e9d958a0039b88f3f864f063546223641f8550869d21e401cd55464ccb6b3e8421354653acb9266a39b4417d930e3fe6f1825991931c2eadd4bf7b2a6  ibmtpm1332.tar.gz"