diff options
author | Alexander Sack <asac@pantacor.com> | 2019-09-20 09:27:01 +0000 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-20 15:55:04 +0200 |
commit | 3a5547f4f14f0a4827a9ec9e59088c4fe122b0ff (patch) | |
tree | 09148162104d6d913f4bfeb9eb3c9ee31634755e /testing/tpm2-tools | |
parent | 6569f3f7099d999bd0793bc21bed29f5ce80630c (diff) | |
download | aports-3a5547f4f14f0a4827a9ec9e59088c4fe122b0ff.tar.bz2 aports-3a5547f4f14f0a4827a9ec9e59088c4fe122b0ff.tar.xz |
testing/tpm2-tools: new aport
TPM2 Tools binary and doc packages
https://github.com/tpm2-software/tpm2-tools/
Diffstat (limited to 'testing/tpm2-tools')
-rw-r--r-- | testing/tpm2-tools/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/tpm2-tools/APKBUILD b/testing/tpm2-tools/APKBUILD new file mode 100644 index 0000000000..64c251fbc1 --- /dev/null +++ b/testing/tpm2-tools/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Alexander Sack <asac@pantacor.com> +# Maintainer: Alexander Sack <asac@pantacor.com> +pkgname="tpm2-tools" +pkgver="4.0_rc2" +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="dfdf38f488238f06315493c0a708a9efb104e92e0b149180b13a542fb9fa4ff79199121876a7c0ad64b58f0738d3f11206431fffd1b259a1a50a34f6f34a8250 tpm2-tools-4.0-rc2.tar.gz" |