aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/esc/esc-node-demo_git.bb
blob: 06933e05652db448db8ed3554039fd58644e5b39 (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
DESCRIPTION = "Demo of Node.js as a Matrix backend"
HOMEPAGE = "http://wiki.github.com/jadonk/node/"
SECTION = "devel"
PRIORITY = "optional"

PV = "0"
PR = "r4"

SRC_URI = "git://gist.github.com/397547.git;protocol=git \
"

SRCREV = "b23123982341cc097e3ecee67a0a299e6017db99"
S = "${WORKDIR}/git"

DEMO_FILES = " \
    matrix_command_shell.js \
    hello_world.js \
    index.html \
"

do_install() {
    install -d ${D}${datadir}/esc-training
    for i in ${DEMO_FILES}; do
        install -m 0755 ${S}/${i} ${D}${datadir}/esc-training
    done
}

RDEPENDS_${PN} = "nodejs"
FILES_${PN} += "${datadir}/esc-training"