summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-23 05:50:46 -0800
committerSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-23 05:51:29 -0800
commit89d942c6537697a0338216eed420bd923ee6b9e3 (patch)
treed779ee6929778fd13743f23051a4964c3dd5d23e /user
parent8f5579e884fcc205d77937b5ed39325064006bdf (diff)
downloadpackages-89d942c6537697a0338216eed420bd923ee6b9e3.tar.gz
packages-89d942c6537697a0338216eed420bd923ee6b9e3.tar.bz2
packages-89d942c6537697a0338216eed420bd923ee6b9e3.tar.xz
packages-89d942c6537697a0338216eed420bd923ee6b9e3.zip
user/tpm2-tss: new package
Diffstat (limited to 'user')
-rw-r--r--user/tpm2-tss/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/tpm2-tss/APKBUILD b/user/tpm2-tss/APKBUILD
new file mode 100644
index 000000000..fcab98573
--- /dev/null
+++ b/user/tpm2-tss/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=tpm2-tss
+pkgver=4.0.1
+pkgrel=0
+pkgdesc="Software for working with Trusted Platform Modules (TPM)"
+url="https://tpm2-software.github.io/"
+arch="all"
+license="BSD-2-Clause"
+depends=""
+makedepends="curl-dev doxygen json-c-dev openssl-dev util-linux-dev"
+checkdepends="cmocka-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/tpm2-software/tpm2-tss/releases/download/$pkgver/tpm2-tss-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-unit
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ed6ddc52cb0e8c1082a4bb001e1225eb9905fd2380da88db5fd69ff5b5d9d43a93eb67b634e49d53eb5d586832da3aef2c4c7e5f18d51bb730481f8913319d7d tpm2-tss-4.0.1.tar.gz"