Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "Software stack for TPM2." |
| 2 | DESCRIPTION = "OSS implementation of the TCG TPM2 Software Stack (TSS2) " |
| 3 | LICENSE = "BSD-2-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=500b2e742befc3da00684d8a1d5fd9da" |
| 5 | SECTION = "tpm" |
| 6 | |
| 7 | DEPENDS = "autoconf-archive-native libgcrypt openssl" |
| 8 | |
| 9 | SRCREV = "eb69e13559f20a0b49002a685c6f4a39be9503e2" |
| 10 | |
| 11 | SRC_URI = "git://github.com/tpm2-software/tpm2-tss.git;branch=2.2.x" |
| 12 | |
| 13 | inherit autotools-brokensep pkgconfig systemd |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | PACKAGECONFIG ??= "" |
| 18 | PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, " |
| 19 | |
| 20 | do_configure_prepend () { |
| 21 | ./bootstrap |
| 22 | } |
| 23 | |
| 24 | INHERIT += "extrausers" |
| 25 | EXTRA_USERS_PARAMS = "\ |
| 26 | useradd -p '' tss; \ |
| 27 | groupadd tss; \ |
| 28 | " |
| 29 | |
| 30 | PROVIDES = "${PACKAGES}" |
| 31 | PACKAGES = " \ |
| 32 | ${PN} \ |
| 33 | ${PN}-dbg \ |
| 34 | ${PN}-doc \ |
| 35 | libtss2-mu \ |
| 36 | libtss2-mu-dev \ |
| 37 | libtss2-mu-staticdev \ |
| 38 | libtss2-tcti-device \ |
| 39 | libtss2-tcti-device-dev \ |
| 40 | libtss2-tcti-device-staticdev \ |
| 41 | libtss2-tcti-mssim \ |
| 42 | libtss2-tcti-mssim-dev \ |
| 43 | libtss2-tcti-mssim-staticdev \ |
| 44 | libtss2 \ |
| 45 | libtss2-dev \ |
| 46 | libtss2-staticdev \ |
| 47 | " |
| 48 | |
| 49 | FILES_libtss2-tcti-device = "${libdir}/libtss2-tcti-device.so.*" |
| 50 | FILES_libtss2-tcti-device-dev = " \ |
| 51 | ${includedir}/tss2/tss2_tcti_device.h \ |
| 52 | ${libdir}/pkgconfig/tss2-tcti-device.pc \ |
| 53 | ${libdir}/libtss2-tcti-device.so" |
| 54 | FILES_libtss2-tcti-device-staticdev = "${libdir}/libtss2-tcti-device.*a" |
| 55 | |
| 56 | FILES_libtss2-tcti-mssim = "${libdir}/libtss2-tcti-mssim.so.*" |
| 57 | FILES_libtss2-tcti-mssim-dev = " \ |
| 58 | ${includedir}/tss2/tss2_tcti_mssim.h \ |
| 59 | ${libdir}/pkgconfig/tss2-tcti-mssim.pc \ |
| 60 | ${libdir}/libtss2-tcti-mssim.so" |
| 61 | FILES_libtss2-tcti-mssim-staticdev = "${libdir}/libtss2-tcti-mssim.*a" |
| 62 | |
| 63 | FILES_libtss2-mu = "${libdir}/libtss2-mu.so.*" |
| 64 | FILES_libtss2-mu-dev = " \ |
| 65 | ${includedir}/tss2/tss2_mu.h \ |
| 66 | ${libdir}/pkgconfig/tss2-mu.pc \ |
| 67 | ${libdir}/libtss2-mu.so" |
| 68 | FILES_libtss2-mu-staticdev = "${libdir}/libtss2-mu.*a" |
| 69 | |
| 70 | FILES_libtss2 = "${libdir}/libtss2*so.*" |
| 71 | FILES_libtss2-dev = " \ |
| 72 | ${includedir} \ |
| 73 | ${libdir}/pkgconfig \ |
| 74 | ${libdir}/libtss2*so" |
| 75 | FILES_libtss2-staticdev = "${libdir}/libtss*a" |
| 76 | |
| 77 | FILES_${PN} = "${libdir}/udev" |
| 78 | |
| 79 | RDEPENDS_libtss2 = "libgcrypt" |