xref: /openbmc/openbmc/meta-security/meta-tpm/recipes-tpm2/tpm2-openssl/tpm2-openssl_1.3.0.bb (revision eaae0b339f806200d8722cb09e5e3b83c15a5956)
1SUMMARY = "Provider for integration of TPM 2.0 to OpenSSL 3.0"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=3f4b4cb00f4d0d6807a0dc79759a57ac"
4
5DEPENDS = "autoconf-archive-native tpm2-tss openssl"
6
7SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz"
8
9SRC_URI[sha256sum] = "9a9aca55d4265ec501bcf9c56d21d6ca18dba902553f21c888fe725b42ea9964"
10
11UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases"
12
13inherit autotools pkgconfig
14
15do_configure:prepend() {
16    # do not extract the version number from git
17    sed -i -e 's/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/' ${S}/configure.ac
18}
19
20FILES:${PN} = "\
21    ${libdir}/ossl-modules/tpm2.so"
22