Restore webapp samples
[AGL/meta-agl-demo.git] / recipes-demo / webapp-samples / webapp-samples.inc
1 HOMEPAGE    = "https://github.com/AGL-web-applications/webapp-samples"
2 SECTION     = "apps"
3
4 PV      = "1.0+git${SRCPV}"
5 S       = "${WORKDIR}/git"
6 B       = "${WORKDIR}/build"
7
8 SRC_URI = " \
9   git://github.com/AGL-web-applications/webapp-samples.git;protocol=https;branch=master \
10   file://${APPINFO_FILE} \
11 "
12 SRCREV = "b24a62cc524bdec98a61acc03fc53cbab24c1571"
13
14 WAM_APPLICATIONS_DIR="${libdir}/wam_apps"
15
16 do_install() {
17   install -d ${D}${WAM_APPLICATIONS_DIR}/${PN}
18   install ${WORKDIR}/${APPINFO_FILE} ${D}${WAM_APPLICATIONS_DIR}/${PN}/appinfo.json
19 }
20
21 FILES:${PN} = " \
22   ${WAM_APPLICATIONS_DIR}/${PN} \
23 "