31 lines
748 B
TOML
31 lines
748 B
TOML
[build]
|
|
type = "autotools"
|
|
|
|
[build.flags]
|
|
configure = [
|
|
"--with-openssl",
|
|
"--with-tpm2",
|
|
]
|
|
|
|
[dependencies]
|
|
runtime = [
|
|
"glibc",
|
|
"openssl",
|
|
]
|
|
|
|
[package]
|
|
description = "Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)"
|
|
homepage = "https://github.com/stefanberger/libtpms"
|
|
license = "BSD-3-Clause"
|
|
name = "libtpms"
|
|
version = "0.10.2"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
post_extract = ["autoreconf -fiv"]
|
|
url = "https://github.com/stefanberger/libtpms.git#v$version"
|
|
patches = [ "libtpms-0.10.2-const-plaintext-pointers.patch", "libtpms-0.10.2-posixify-tests.patch" ]
|
|
|
|
[[manual_sources]]
|
|
files = [ "libtpms-0.10.2-const-plaintext-pointers.patch", "libtpms-0.10.2-posixify-tests.patch" ]
|