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