DESCRIPTION = "Matrix TUI" HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_tui/" LICENSE = "BSD" SECTION = "multimedia" PRIORITY = "optional" DEPENDS = "libxml2" SRCREV = "29" PV = "1.0" PR = "r2+svnr${SRCPV}" INSANE_SKIP_${PN} = "True" SRC_URI = "svn://gforge.ti.com/svn/matrix_tui/;module=trunk;proto=https;user=anonymous;pswd='' \ file://init \ " S = "${WORKDIR}/trunk" # Do not auto-start TUI by default, uncomment otherwise #inherit update-rc.d #INITSCRIPT_NAME = "matrix-tui" #INITSCRIPT_PARAMS = "defaults 99" do_configure() { sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:PATH ?= ${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:' makefile.init } do_compile() { # don't build debug version touch debug export CROSS_COMPILE=${TARGET_PREFIX} export TUI_INCLUDE_PATH=${STAGING_INCDIR} export XML_INCLUDE_PATH=${STAGING_INCDIR}/libxml2 export TUI_LIB_PATH=${STAGING_LIBDIR} make release } do_install() { make DESTDIR=${D} install install -d ${D}${sysconfdir}/init.d/ install -c -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-tui } FILES_${PN} += "${datadir}/matrix/*"