blob: b82fb650d0a03b16d07f3629490ae5c589048fd9 [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
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050013UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases"
14
Andrew Geissler064f75b2020-06-27 00:14:46 -050015inherit autotools pkgconfig bash-completion
Patrick Williams03907ee2022-05-01 06:28:52 -050016
17do_configure:prepend() {
18 # do not extract the version number from git
19 sed -i -e 's/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/' ${S}/configure.ac
20}
Andrew Geisslerd5838332022-05-27 11:33:10 -050021
22# need tss-esys
23RDEPENDS:${PN} = "libtss2 tpm2-abrmd"