29 lines
836 B
Plaintext
29 lines
836 B
Plaintext
# Description: Implementation of the TCG Trusted Platform Module 2.0 Software Stack (TSS2)
|
|
# URL: https://github.com/tpm2-software/tpm2-tss
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: json-c cmocka libtpms
|
|
|
|
name=tpm2-tss
|
|
version=4.0.1
|
|
release=2
|
|
source=(https://github.com/tpm2-software/tpm2-tss/releases/download/$version/$name-$version.tar.gz
|
|
https://raw.githubusercontent.com/tpm2-software/tpm2-tss/e237e4d33cbf280292a480edd8ad061dcd3a37a2/lib/tss2-tcti-libtpms.map
|
|
218c0da8.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
cp $SRC/tss2-tcti-libtpms.map lib
|
|
patch -Np1 -i $SRC/218c0da8.patch
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--with-runstatedir=/run \
|
|
--with-udevrulesprefix=60-
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/etc/{sysusers.d,tmpfiles.d}
|
|
}
|