aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/ibmswtpm2/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/ibmswtpm2/APKBUILD b/testing/ibmswtpm2/APKBUILD
new file mode 100644
index 0000000000..b3130e0340
--- /dev/null
+++ b/testing/ibmswtpm2/APKBUILD
@@ -0,0 +1,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"