Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | SUMMARY = "IBM's Software TPM 2.0" |
| 2 | |
| 3 | LICENSE = "BSD" |
| 4 | SECTION = "securty/tpm" |
| 5 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=1e023f61454ac828b4aa1bc4293f7d5f" |
| 6 | |
| 7 | SRC_URI = "https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1332.tar.gz" |
| 8 | SRC_URI[md5sum] = "0ab34a655b4e09812d7ada19746af4f9" |
| 9 | SRC_URI[sha256sum] = "8e8193af3d11d9ff6a951dda8cd1f4693cb01934a8ad7876b84e92c6148ab0fd" |
| 10 | |
| 11 | DEPENDS = "openssl" |
| 12 | |
| 13 | S = "${WORKDIR}/src" |
| 14 | |
| 15 | LDFLAGS = "${LDFALGS}" |
| 16 | |
| 17 | do_compile () { |
| 18 | make CC='${CC}' |
| 19 | } |
| 20 | |
| 21 | do_install () { |
| 22 | install -d ${D}/${bindir} |
| 23 | install -m 0755 tpm_server ${D}/${bindir} |
| 24 | } |