aboutsummaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm1/pcr-extend/pcr-extend_git.bb
blob: 45da416a7833fbf2c4b67e675c4edd1010f1975a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SUMMARY = "Command line utility to extend hash of arbitrary data into a TPMs PCR."
HOMEPAGE = "https://github.com/flihp/pcr-extend"
SECTION = "security/tpm"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "libtspi"

PV = "0.1+git${SRCPV}"
SRCREV = "c02ad8f628b3d99f6d4c087b402fe31a40ee6316"

SRC_URI = "git://github.com/flihp/pcr-extend.git;branch=master;protocol=https \
           file://fix_openssl11_build.patch "

inherit autotools

S = "${WORKDIR}/git"

do_compile() {
    oe_runmake -C ${S}/src
}

do_install() {
    install -d ${D}${bindir}
    oe_runmake -C ${S}/src DESTDIR="${D}" install 
}