aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ti/matrix-gui-common.inc
blob: b5a368e2e8081a990869b871bf4b783efdcf93e8 (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
DESCRIPTION = "Common files for all versions of Matrix GUI"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
LICENSE = "BSD"
SECTION = "multimedia"
PRIORITY = "optional"

INC_PR = "r5"

COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"

PLATFORM_dm365 = "dm365"
PLATFORM_omapl138 = "omapl138"
PLATFORM_omap3evm = "omap3530"
PLATFORM_dm37x-evm = "dm3730"
PLATFORM_am37x-evm = "am3715"
PLATFORM_beagleboard = "am3715"
PLATFORM_ti816x = "ti816x"

#Checkout the project repository to get access to the scripts and data
#files.
SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "

S = "${WORKDIR}/trunk"

PACKAGE_ARCH = ${MACHINE_ARCH}

do_install() {
    install -d ${D}/${bindir}
    install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/
    install -d ${D}/${datadir}/matrix/html
    install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html
    install -d ${D}/${datadir}/matrix/images
    install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/

}

FILES_${PN} += "${datadir}/matrix/*"