aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo/webapp-samples/webapp-samples.inc
blob: f2d61a092b65fcee4ac723139a1f33226aa84ef9 (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
HOMEPAGE    = "https://github.com/AGL-web-applications/webapp-samples"
SECTION     = "apps"

PV      = "1.0+git${SRCPV}"
S       = "${WORKDIR}/git"
B       = "${WORKDIR}/build"

SRC_URI = " \
  git://github.com/AGL-web-applications/webapp-samples.git;protocol=https;branch=master \
  file://${DESKTOP_FILE} \
"
SRCREV = "b24a62cc524bdec98a61acc03fc53cbab24c1571"

WAM_APPLICATIONS_DIR="${libdir}/wam_apps"
APPLICATIONS_DIR="${datadir}/applications"

do_install() {
  install -d ${D}${WAM_APPLICATIONS_DIR}/${PN}
  install -d ${D}${APPLICATIONS_DIR}
  install ${WORKDIR}/${DESKTOP_FILE} ${D}${APPLICATIONS_DIR}
}

FILES:${PN} = " \
  ${WAM_APPLICATIONS_DIR}/${PN} \
  ${APPLICATIONS_DIR} \
"