summaryrefslogtreecommitdiffstats
path: root/external/meta-sdl/recipes-automotive/sdl-generic-hmi/sdl-generic-hmi_git.bb
blob: bac1740eba0c7119f8f1d7e08815c3f77136faf2 (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
32
33
34
SUMMARY = "HTML based reference HMI for SmartDeviceLink"
DESCRIPTION = "SmartDeviceLink (SDL) is a standard set of protocols and \
messages that connect applications on a smartphone to a vehicle head \
unit."
HOMEPAGE = "https://www.smartdevicelink.com"
SECTION = "app"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=cf455e8d39d2ded1d85b1c5dea6ec3c5"

SRC_URI = "git://github.com/smartdevicelink/generic_hmi.git;branch=develop"

PV = "0.0.0+git${SRCPV}"
SRCREV = "8d05d53d228d1dec82b78af824e33a0de5697e0c"

S = "${WORKDIR}/git"

PACKAGES = " \
    ${PN} \
"

FILES_${PN}_append = " \
    ${datadir}/smartdevicelink/generic_hmi/ \
"

do_install() {
    install -d ${D}${datadir}/smartdevicelink/generic_hmi
    install -m 0644 ${S}/index.html ${D}${datadir}/smartdevicelink/generic_hmi/
    install -d ${D}${datadir}/smartdevicelink/generic_hmi/build
    install -m 0644 ${S}/build/* ${D}${datadir}/smartdevicelink/generic_hmi/build
    install -d ${D}${datadir}/smartdevicelink/generic_hmi/fonts
    install -m 0644 ${S}/fonts/* ${D}${datadir}/smartdevicelink/generic_hmi/fonts
}