aboutsummaryrefslogtreecommitdiff
path: root/meta-optee/recipes-security/optee/optee-client.bb
blob: 023ab523fa634aecab276d648068450ab65b4d58 (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
27
28
29
30
31
SUMMARY = "OPTEE Client"
HOMEPAGE = "https://github.com/OP-TEE/optee_client"

LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=69663ab153298557a59c67a60a743e5b"

PV = "2.0.0+git${SRCPV}"

inherit pythonnative

SRC_URI = "git://github.com/OP-TEE/optee_client.git"
S = "${WORKDIR}/git"

SRCREV = "17d1addc465a667f375837cdbe4fa7ebac08539b"

do_compile() {
    install -d ${D}${prefix}
    oe_runmake EXPORT_DIR=${D}${prefix}/
}

do_install() {
    install -d ${D}${prefix}
    oe_runmake install EXPORT_DIR=${D}${prefix}

    ( cd ${D}${prefix}/lib
      rm libteec.so libteec.so.1
      ln -s libteec.so.1.0 libteec.so.1
      ln -s libteec.so.1.0 libteec.so
    )
}