blob: 378a1f9efba2780f03cc1786ea0ba3005113b1e9 (
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
38
39
|
DESCRIPTION = "Matrix GUI Application launcher"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrix-gui-v2/"
LICENSE = "BSD MIT Apache"
SECTION = "multimedia"
PRIORITY = "optional"
PR = "r3"
INITSCRIPT_NAME = "matrix-gui-2.0"
INITSCRIPT_PARAMS = "defaults 99"
PACKAGE_ARCH = "all"
inherit update-rc.d
BRANCH ?= "master"
SRCREV = "c6db82baffcd96b20e67aa5cfdb4c0c98ef208b9"
SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2.git;protocol=git;branch=${BRANCH} \
file://init"
require matrix-gui-paths.inc
S = "${WORKDIR}/git"
do_install(){
install -d ${D}${MATRIX_BASE_DIR}
cp -rf ${S}/* ${D}${MATRIX_BASE_DIR}
# Set the proper path in the init script
sed -i -e s=__MATRIX_BASE_DIR__=${MATRIX_BASE_DIR}= ${WORKDIR}/init
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-gui-2.0
}
RDEPENDS_${PN} += nodejs
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
|