summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb
blob: b95240aced4a33a50c8b9be489043ac9d9ed4197 (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
35
36
37
SUMMARY     = "Momiyama Web UI for CES2023"
DESCRIPTION = "Momiyama Web UI for CES2023."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"

PV = "0.1.0"

SRC_URI = "git://github.com/agl-ic-eg/momiweb.git;protocol=https;branch=agl-master \
           file://momiweb.conf \
          "
SRCREV = "e720ea92df37da05ba33fc7abb4c4822f58dbcf1"

S = "${WORKDIR}/git"

inherit allarch

do_install:append() {
	install -d ${D}${sysconfdir}/lighttpd.d
	install -m 0644 ${WORKDIR}/momiweb.conf ${D}${sysconfdir}/lighttpd.d/

	install -d ${D}/www/momiweb
	cp -R ${S}/webui/* ${D}/www/momiweb/

	install -d ${D}/www/cgi-bin
	cp -R ${S}/cgi/* ${D}/www/cgi-bin/
}

FILES:${PN} += " \
    /www/momiweb/* \
    /www/momiweb/*/* \
    /www/cgi-bin/* \
    "
RDEPENDS:${PN} = " \
    lighttpd \
    lighttpd-module-cgi \
    lighttpd-module-accesslog \
    "