Andrew Geissler | 064f75b | 2020-06-27 00:14:46 -0500 | [diff] [blame] | 1 | SUMMARY = "Tools for TPM2." |
| 2 | DESCRIPTION = "tpm2-tools" |
| 3 | LICENSE = "BSD-3-Clause" |
Andrew Geissler | d1d22e6 | 2020-10-16 10:14:32 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" |
Andrew Geissler | 064f75b | 2020-06-27 00:14:46 -0500 | [diff] [blame] | 5 | SECTION = "tpm" |
| 6 | |
| 7 | DEPENDS = "tpm2-abrmd tpm2-tss openssl curl autoconf-archive" |
| 8 | |
| 9 | SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz" |
| 10 | |
Patrick Williams | 53961c2 | 2022-01-20 11:06:23 -0600 | [diff] [blame] | 11 | SRC_URI[sha256sum] = "c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630" |
Andrew Geissler | 064f75b | 2020-06-27 00:14:46 -0500 | [diff] [blame] | 12 | |
| 13 | inherit autotools pkgconfig bash-completion |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 14 | |
| 15 | do_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 Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 19 | |
| 20 | # need tss-esys |
| 21 | RDEPENDS:${PN} = "libtss2 tpm2-abrmd" |