blob: c20af7ef0a05ed8da215346cf154781261408d9f [file] [log] [blame]
Andrew Geissler064f75b2020-06-27 00:14:46 -05001SUMMARY = "Tools for TPM2."
2DESCRIPTION = "tpm2-tools"
3LICENSE = "BSD-3-Clause"
Andrew Geisslerd1d22e62020-10-16 10:14:32 -05004LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=a846608d090aa64494c45fc147cc12e3"
Andrew Geissler064f75b2020-06-27 00:14:46 -05005SECTION = "tpm"
6
7DEPENDS = "tpm2-abrmd tpm2-tss openssl curl autoconf-archive"
8
9SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz"
10
Patrick Williams53961c22022-01-20 11:06:23 -060011SRC_URI[sha256sum] = "c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630"
Andrew Geissler064f75b2020-06-27 00:14:46 -050012
13inherit autotools pkgconfig bash-completion
Patrick Williams03907ee2022-05-01 06:28:52 -050014
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}
Andrew Geisslerd5838332022-05-27 11:33:10 -050019
20# need tss-esys
21RDEPENDS:${PN} = "libtss2 tpm2-abrmd"