mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-04 18:00:36 +00:00
Matrix 2.0: initial add
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "3D demo descriptions for Matrix v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/603/5030/3ddemos_1.0.tar.gz"
|
||||
|
||||
S = ${WORKDIR}/3ddemos
|
||||
|
||||
require matrix-gui-apps.inc
|
||||
|
||||
# Make sure 3D submenu has been installed
|
||||
RDEPENDS += matrix-gui-submenus-3d
|
||||
|
||||
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
|
||||
|
||||
SRC_URI[md5sum] = "998363dbabea3724c4c3283a480cdb60"
|
||||
SRC_URI[sha256sum] = "aab5890dffe4e9f36f78a64ec16e7221649bb61ef1ceee2e1246cd666d197268"
|
||||
@@ -0,0 +1,40 @@
|
||||
require matrix-gui-paths.inc
|
||||
|
||||
MATRIX_FILES_DIR ?= ${S}
|
||||
|
||||
# Append a generic function to the do_install step that will look in the
|
||||
# MATRIX_FILES_DIR for .desktop files and then:
|
||||
# 1. Install all non-script files into the MATRIX_APP_DIR
|
||||
# 2. Install all script files into ${bindir}
|
||||
do_install_append(){
|
||||
cd ${MATRIX_FILES_DIR}
|
||||
applist=`find . -name "*.desktop"`
|
||||
|
||||
for app in $applist
|
||||
do
|
||||
appdir=`dirname $app`
|
||||
install -d ${D}${MATRIX_APP_DIR}/$appdir
|
||||
|
||||
# Get the non-script files which are the matrix metadata
|
||||
matrix_apps=`find $appdir -type f ! -name "*\.sh"`
|
||||
for m in $matrix_apps
|
||||
do
|
||||
install -m 0644 ${MATRIX_FILES_DIR}/$m ${D}${MATRIX_APP_DIR}/$appdir/
|
||||
done
|
||||
|
||||
# Put the script files as executables in ${bindir}
|
||||
scripts=`find $appdir -type f -name "*\.sh"`
|
||||
for s in $scripts
|
||||
do
|
||||
if [ ! -d ${D}/${bindir} ]
|
||||
then
|
||||
install -d ${D}${bindir}
|
||||
fi
|
||||
install -m 0755 ${MATRIX_FILES_DIR}/$s ${D}${bindir}/
|
||||
done
|
||||
done
|
||||
|
||||
# Go back to the directory we started from in case there are
|
||||
# other appends.
|
||||
cd -
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
DESCRIPTION = "Clock setting descriptions for Matrix v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/612/5031/clocks_1.0.tar.gz"
|
||||
|
||||
S = ${WORKDIR}/clocks
|
||||
|
||||
require matrix-gui-apps.inc
|
||||
|
||||
# Make sure power submenu has been installed
|
||||
RDEPENDS += matrix-gui-submenus-power
|
||||
|
||||
# Break out the individual files into separate packages. That way only the
|
||||
# clocks supported for each device can be installed. Prepend the list so
|
||||
# that we can get the files in ${bindir} first
|
||||
PACKAGES =+ "${PN}-300mhz ${PN}-600mhz ${PN}-800mhz ${PN}-1ghz"
|
||||
|
||||
# Split the matrix files by clock
|
||||
FILES_${PN}-300mhz += "${MATRIX_APP_DIR}/power_set_300mhz/*"
|
||||
FILES_${PN}-600mhz += "${MATRIX_APP_DIR}/power_set_600mhz/*"
|
||||
FILES_${PN}-800mhz += "${MATRIX_APP_DIR}/power_set_800mhz/*"
|
||||
FILES_${PN}-1ghz += "${MATRIX_APP_DIR}/power_set_1ghz/*"
|
||||
|
||||
# Split the ${bindir} files by clock
|
||||
FILES_${PN}-300mhz += "${bindir}/setopp2.sh"
|
||||
FILES_${PN}-600mhz += "${bindir}/setopp3.sh"
|
||||
FILES_${PN}-800mhz += "${bindir}/setopp4.sh"
|
||||
FILES_${PN}-1ghz += "${bindir}/setopp1.sh"
|
||||
|
||||
SRC_URI[md5sum] = "9e76951feab2ecd9334e9c890426500f"
|
||||
SRC_URI[sha256sum] = "96dc90fffe45fc4bb499215f57c416d16ff874290d6b2f16b9e2fdbcb9c18cbe"
|
||||
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION = "coming soon descriptions for Matrix v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/616/5029/comingsoon_1.0.tar.gz"
|
||||
|
||||
S = ${WORKDIR}
|
||||
|
||||
require matrix-gui-apps.inc
|
||||
|
||||
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
|
||||
|
||||
SRC_URI[md5sum] = "04076ed62be226ffee3f3960237c47f8"
|
||||
SRC_URI[sha256sum] = "f00d24a506f39b92ba335479f902bdb97680df3502f81343be5baab45fd2bc95"
|
||||
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION = "Cryptography demo descriptions for Matrix v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/609/5033/cryptodemos_1.0.tar.gz"
|
||||
|
||||
S = ${WORKDIR}/cryptodemos
|
||||
|
||||
require matrix-gui-apps.inc
|
||||
|
||||
# Make sure crypto submenu has been installed and openssl is available
|
||||
RDEPENDS += "matrix-gui-submenus-cryptos openssl"
|
||||
|
||||
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
|
||||
|
||||
SRC_URI[md5sum] = "17a640f9d8a18694a67a8c2e473d1a2d"
|
||||
SRC_URI[sha256sum] = "9d1724e33dfe93a38fe70e517b3e3e0a641c993ebd5f56cc54317b351b3ba06a"
|
||||
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION = "Display control descriptions for Matrix v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/611/5034/displaycontrol_1.0.tar.gz"
|
||||
|
||||
S = ${WORKDIR}/displaycontrol
|
||||
|
||||
require matrix-gui-apps.inc
|
||||
|
||||
# Make sure display submenu has been installed
|
||||
RDEPENDS += matrix-gui-submenus-display
|
||||
|
||||
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
|
||||
|
||||
SRC_URI[md5sum] = "65b45c9a55395c6a574ca720fc47c628"
|
||||
SRC_URI[sha256sum] = "e8b8dee2ddf66f96b0420988e7cd3220306168887f78043e5aa4497388e77798"
|
||||
@@ -0,0 +1,2 @@
|
||||
export MATRIX_BASE_DIR = "${datadir}/matrix-gui-2.0"
|
||||
export MATRIX_APP_DIR = "${MATRIX_BASE_DIR}/apps"
|
||||
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION = "Power management demo descriptions for Matrix v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/610/5035/pmdemos_1.0.tar.gz"
|
||||
|
||||
S = ${WORKDIR}/pmdemos
|
||||
|
||||
require matrix-gui-apps.inc
|
||||
|
||||
# Make sure power submenu has been installed
|
||||
RDEPENDS += matrix-gui-submenus-power
|
||||
|
||||
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
|
||||
|
||||
SRC_URI[md5sum] = "81ee5495fe155bad88a4ba3510bb18b9"
|
||||
SRC_URI[sha256sum] = "14c36da61466b384fd196769cf4a4344a9e62440fe3389f94d27575f29c319b3"
|
||||
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION = "Qt4 demo descriptions for Matrix v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/608/5036/qt4demos_1.0.tar.gz"
|
||||
|
||||
S = ${WORKDIR}/qt4demos
|
||||
|
||||
require matrix-gui-apps.inc
|
||||
|
||||
# Make sure qt4 submenu has been installed
|
||||
RDEPENDS += matrix-gui-submenus-qt4
|
||||
|
||||
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
|
||||
|
||||
SRC_URI[md5sum] = "49b65c4af67117ba70e0ddabfe486abe"
|
||||
SRC_URI[sha256sum] = "8367c539caf6902961db4b8f38b0fb1f05b7b105d5e7fd143c9503ca0c8a1df2"
|
||||
@@ -0,0 +1,97 @@
|
||||
DESCRIPTION = "Submenu packages for Matrix GUI v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
require matrix-gui-paths.inc
|
||||
|
||||
# These packages make submenus in matrix and are not architecture specific
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
# List of submenu tarballs to use. Each tarball contains a desktop file
|
||||
# and PNG graphic file for the submenu.
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/589/5037/arm.tar.gz;name=armtarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/588/5038/3d.tar.gz;name=3dtarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/591/5039/cryptos.tar.gz;name=cryptostarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/592/5040/display.tar.gz;name=displaytarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/593/5041/ethernet.tar.gz;name=ethernettarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/594/5042/multimedia.tar.gz;name=multimediatarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/595/5043/power.tar.gz;name=powertarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/596/5044/pru.tar.gz;name=prutarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/597/5045/qt4.tar.gz;name=qt4tarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/598/5046/settings.tar.gz;name=settingstarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/599/5047/usb.tar.gz;name=usbtarball \
|
||||
https://gforge.ti.com/gf/download/frsrelease/600/5048/wifi.tar.gz;name=wifitarball \
|
||||
"
|
||||
|
||||
S = ${WORKDIR}
|
||||
|
||||
# List of submenus to build packages for
|
||||
SUBMENUS = "arm 3d cryptos display ethernet multimedia power pru qt4 settings usb wifi"
|
||||
|
||||
do_install(){
|
||||
install -d ${D}${MATRIX_APP_DIR}
|
||||
|
||||
for x in ${SUBMENUS}
|
||||
do
|
||||
cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/
|
||||
done
|
||||
}
|
||||
|
||||
PACKAGES += "${PN}-arm ${PN}-3d ${PN}-cryptos ${PN}-display ${PN}-ethernet ${PN}-multimedia ${PN}-power ${PN}-pru ${PN}-qt4 ${PN}-settings ${PN}-usb ${PN}-wifi"
|
||||
|
||||
# All submenu packages should depend on matrix-gui being installed
|
||||
RDEPENDS += matrix-gui
|
||||
|
||||
# Add the files for each submenu package
|
||||
FILES_${PN}-arm = "${MATRIX_APP_DIR}/arm/*"
|
||||
FILES_${PN}-3d = "${MATRIX_APP_DIR}/3d/*"
|
||||
FILES_${PN}-cryptos = "${MATRIX_APP_DIR}/cryptos/*"
|
||||
FILES_${PN}-display = "${MATRIX_APP_DIR}/display/*"
|
||||
FILES_${PN}-ethernet = "${MATRIX_APP_DIR}/ethernet/*"
|
||||
FILES_${PN}-multimedia = "${MATRIX_APP_DIR}/multimedia/*"
|
||||
FILES_${PN}-power = "${MATRIX_APP_DIR}/power/*"
|
||||
FILES_${PN}-pru = "${MATRIX_APP_DIR}/pru/*"
|
||||
FILES_${PN}-qt4 = "${MATRIX_APP_DIR}/qt4/*"
|
||||
FILES_${PN}-settings = "${MATRIX_APP_DIR}/settings/*"
|
||||
FILES_${PN}-usb = "${MATRIX_APP_DIR}/usb/*"
|
||||
FILES_${PN}-wifi = "${MATRIX_APP_DIR}/wifi/*"
|
||||
|
||||
# checksums for the submenu tarballs
|
||||
SRC_URI[armtarball.md5sum] = "ed7d73441e0d85e84aa6df06d86e9d72"
|
||||
SRC_URI[armtarball.sha256um] = "99f9ccba0df1d8f1bfb78cf90eec8e64e961651ba6079e9c4bb21f8243d33ece"
|
||||
|
||||
SRC_URI[3dtarball.md5sum] = "8aa161e1836e0efcf3db657f94137a34"
|
||||
SRC_URI[3dtarball.sha256um] = "b522065d288e49f50cbf1ee2c9deb76683161d82eb0429635bc66c4f26f235f1"
|
||||
|
||||
SRC_URI[cryptostarball.md5sum] = "d1fbc3b575775557e3e150818d86373a"
|
||||
SRC_URI[cryptostarball.sha256um] = "f4c1645bf858dc157d4efae3ca66e437310294bfd564bdeb89c6609ae65cadf9"
|
||||
|
||||
SRC_URI[displaytarball.md5sum] = "aa72fc22aa550b48ab32e28b2f8cbbcf"
|
||||
SRC_URI[displaytarball.sha256sum] = "593a7f91226b10b1f37fdf85c0d70c8aaf4a690df50ae364c422dbc2c586352b"
|
||||
|
||||
SRC_URI[ethernettarball.md5sum] = "2a8afa6b2666d210eb9ac3c48dd173c0"
|
||||
SRC_URI[ethernettarball.sha256sum] = "1f78b81b043f4ed75b89697ad4609b5752a804300a094b279bc0391464c8af8d"
|
||||
|
||||
SRC_URI[multimediatarball.md5sum] = "8ef64f7b252633d6b2f74561f047f874"
|
||||
SRC_URI[multimediatarball.sha256sum] = "e093c06b7bb40e51ab42ef1d896008d3ba3463629532bd0dcc1417368b73054b"
|
||||
|
||||
SRC_URI[powertarball.md5sum] = "26ef7b4e83386a5a16a08fdb04e20047"
|
||||
SRC_URI[powertarball.sha256sum] = "87b3381cffeb2951ad7ffdff8df2661ad845303ffc850fa10caf8a9b35c09da5"
|
||||
|
||||
SRC_URI[prutarball.md5sum] = "6f28ee2bc5de2bb9db035e4736f6e205"
|
||||
SRC_URI[prutarball.sha256sum] = "872fc89905fab81007274aa86cd43d822c71cf799bf7de92ac9e0394ced158d1"
|
||||
|
||||
SRC_URI[qt4tarball.md5sum] = "f724ca0c58de81477583294078f8666e"
|
||||
SRC_URI[qt4tarball.sha256sum] = "75758cf90981c73603e728fd835f91b250978fb8141634f16b6e7b4ec62c08b1"
|
||||
|
||||
SRC_URI[settingstarball.md5sum] = "a9de5dfa9cf007f7401d5768655fef15"
|
||||
SRC_URI[settingstarball.sha256sum] = "611f19671a2403f1d4f86ac46981d9297851572d867f4049d34b25c4831d2a0a"
|
||||
|
||||
SRC_URI[usbtarball.md5sum] = "c03096c816724a3f3ae34a92b0c8729e"
|
||||
SRC_URI[usbtarball.sha256sum] = "384f733ef1b6808a29a0cfd102ab1ec766913fc88bfa587ee9fb46028835190a"
|
||||
|
||||
SRC_URI[wifitarball.md5sum] = "f6ee538c77ac1ea7a502955e7e3cc624"
|
||||
SRC_URI[wifitarball.sha256sum] = "83edd8cf1c6efbfaa8c2e25b4a984ff6587aa7e379b833810452cb47ff5a6200"
|
||||
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION = "Wifi demo descriptions for Matrix v2"
|
||||
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
|
||||
LICENSE = "CC-BY-SA"
|
||||
PRIORITY = "optional"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/617/5049/wifi_1.0.tar.gz"
|
||||
|
||||
S = ${WORKDIR}/wifi
|
||||
|
||||
require matrix-gui-apps.inc
|
||||
|
||||
# Make sure wifi submenu has been installed
|
||||
RDEPENDS += matrix-gui-submenus-wifi
|
||||
|
||||
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
|
||||
|
||||
SRC_URI[md5sum] = "10a57c18f0c6dcadb0371778a0959bbc"
|
||||
SRC_URI[sha256sum] = "91de898d12a2f980a454a8c3f14b8165fcbd15da3cf565ea5dc80f04ad982159"
|
||||
@@ -0,0 +1,63 @@
|
||||
#! /bin/sh
|
||||
|
||||
matrixgui="/usr/bin/qtopia/demos/browser/browser"
|
||||
GUI_OPTS="-qws -nogui http://localhost:8080/index.html"
|
||||
PIDFILE="/var/run/matrix-gui-2.0.pid"
|
||||
|
||||
test -x "$matrixgui" || exit 0
|
||||
|
||||
export TSLIB_TSDEVICE=/dev/input/touchscreen0
|
||||
export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
chvt 4
|
||||
if [ ! -f /etc/pointercal ] ; then
|
||||
echo -n "Calibrating touchscreen (first time only)"
|
||||
ts_calibrate
|
||||
echo "."
|
||||
fi
|
||||
|
||||
# Temporarily create the /dev/input/touchscreen0 symlink if it is
|
||||
# not already present. On devices like am335x the driver does not
|
||||
# report the right string in /sys/devices/platform/tsc/input/input0/modalias
|
||||
# to match the regular expression in /etc/udev/rules.d/local.rules
|
||||
# to have this symlink created automatically.
|
||||
if [ ! -e /dev/input/touchscreen0 ]
|
||||
then
|
||||
# assume we are going to use event0
|
||||
ln -s /dev/input/event0 /dev/input/touchscreen0
|
||||
fi
|
||||
|
||||
if [ -e $PIDFILE ]; then
|
||||
PIDDIR=/proc/$(cat $PIDFILE)
|
||||
if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${matrixgui}" ]; then
|
||||
echo "$DESC already started; not starting."
|
||||
else
|
||||
echo "Removing stale PID file $PIDFILE."
|
||||
rm -f $PIDFILE
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -n "Starting Matrix GUI application"
|
||||
cd __MATRIX_BASE_DIR__
|
||||
start-stop-daemon --start --quiet --background --exec node -- server.js
|
||||
# Need to investigate how to make the second start-stop command wait
|
||||
# until the start of node is done.
|
||||
sleep 5
|
||||
start-stop-daemon --start --quiet --background --exec $matrixgui -- $GUI_OPTS
|
||||
pidof ${matrixgui} > $PIDFILE
|
||||
echo "."
|
||||
;;
|
||||
|
||||
stop)
|
||||
echo -n "Stopping Matrix GUI application"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/matrix-gui-2.0.pid
|
||||
echo "."
|
||||
;;
|
||||
*)
|
||||
echo "Usage: /etc/init.d/matrix-gui-2.0 {start|stop}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,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}/*"
|
||||
Reference in New Issue
Block a user