diff options
author | Alexander Sack <asac@pantacor.com> | 2019-09-17 14:38:07 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-02 20:24:25 -0300 |
commit | b4d7dcb84b11c6fc76eb6cc16a16394ef590b6a7 (patch) | |
tree | 56d56621a1308e7ef1de7e268e1a6b0fef3d4831 /testing | |
parent | 6acc277927efb920734edd183a8c99257a0ef28b (diff) | |
download | aports-b4d7dcb84b11c6fc76eb6cc16a16394ef590b6a7.tar.bz2 aports-b4d7dcb84b11c6fc76eb6cc16a16394ef590b6a7.tar.xz |
testing/tpm2-tss-engine: new aport
tpm2tss engine for openssl
https://github.com/tpm2-software/tpm2-tss-engine/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/tpm2-tss-engine/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/tpm2-tss-engine/APKBUILD b/testing/tpm2-tss-engine/APKBUILD new file mode 100644 index 0000000000..3acb06aea4 --- /dev/null +++ b/testing/tpm2-tss-engine/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: +# Maintainer: Alexander Sack <asac@pantacor.com> +pkgname="tpm2-tss-engine" +pkgver="1.0.1" +pkgrel=0 +pkgdesc="tpm2tss engine for openssl" +url="https://github.com/tpm2-software/tpm2-tss-engine/" +arch="all" +license="BSD-2-Clause" +makedepends="tpm2-tss-dev openssl-dev doxygen linux-headers" +subpackages=" + $pkgname-dev + $pkgname-doc + $pkgname-bash-completion:bashcomp:noarch + " +source="https://github.com/tpm2-software/tpm2-tss-engine/releases/download/v$pkgver/tpm2-tss-engine-$pkgver.tar.gz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +bashcomp() { + depends="" + pkgdesc="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + + mkdir -p "$subpkgdir"/usr/share/bash-completion + mv "$pkgdir"/usr/share/bash-completion/completions \ + "$subpkgdir"/usr/share/bash-completion + rmdir -p "$pkgdir"/usr/share/bash-completion || : +} + +sha512sums="106fc6aadf0b4b27c3b38be596356aa59b4b76ec1602e8c5564aec6b4be7e2b5d6077006ee13d41e58402255b879aadaa966c758b5b326ae32742007ce2ef238 tpm2-tss-engine-1.0.1.tar.gz" |