summaryrefslogtreecommitdiffstats
path: root/recipes-wam/wam/wam.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-wam/wam/wam.inc')
-rw-r--r--recipes-wam/wam/wam.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-wam/wam/wam.inc b/recipes-wam/wam/wam.inc
new file mode 100644
index 000000000..f78fcfe53
--- /dev/null
+++ b/recipes-wam/wam/wam.inc
@@ -0,0 +1,12 @@
+DEPENDS += " chromium "
+
+EXTRA_OECMAKE = "\
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=${prefix} \
+ -DPLATFORM_NAME=${@'${DISTRO}'.upper().replace('-', '_')} \
+ -DCHROMIUM_SRC_DIR=${STAGING_INCDIR}/chromium"
+
+do_install:append() {
+ install -v -D -m 644 ${WORKDIR}/WebAppMgr.env ${D}${sysconfdir}/default/WebAppMgr.env
+ sed -i -e 's#@WAM_EXE_DIR@#${bindir}#g' ${D}${systemd_system_unitdir}/WebAppMgr.service
+}