Commit 1ac3360a authored by Henrik Riomar's avatar Henrik Riomar Committed by Leo

testing/tpm2-pkcs11: package py tools

parent 4ffbb556
Pipeline #73771 failed with stages
in 38 seconds
......@@ -7,6 +7,14 @@ pkgdesc="A PKCS#11 interface for TPM2 hardware"
url="https://github.com/tpm2-software/tpm2-pkcs11"
arch="all"
license="BSD-2-Clause"
depends="
bash
py3-asn1-modules
py3-cryptography
py3-yaml
python3
tpm2-tools
"
makedepends="
autoconf
autoconf-archive
......@@ -14,8 +22,10 @@ makedepends="
libtool
linux-headers
openssl-dev
py3-setuptools
python3-dev
sqlite-dev
tpm2-abrmd
tpm2-abrmd-dev
tpm2-tools
tpm2-tss-dev
yaml-dev
......@@ -36,10 +46,12 @@ build() {
--host=$CHOST \
--prefix=/usr \
make
cd tools && python3 setup.py build
}
package() {
make DESTDIR="$pkgdir" install
cd tools && python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="b9b39d3a689312cf8e0b2fa1bff55f7aab2d6f0af817e8b99ecd0bc46d9954e1ce12f8375b220519fef418af6c086b00bb85a12b7425883df5304ecb9911d7ce tpm2-pkcs11-1.5.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment