meta-tango/recipes-tools/starter/tango-starter.inc

21 lines
547 B
PHP

SUMMARY = "Tango Controls Starter"
LICENSE = "GPL-3.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
SRC_URI = " \
gitsm://gitlab.com/tango-controls/starter.git;protocol=https;branch=main \
file://tango-starter.sh \
"
S = "${WORKDIR}/git"
DEPENDS = "libtango omniorb"
RDEPENDS:${PN} = "tango-admin"
INITSCRIPT_NAME = "tango-starter"
INITSCRIPT_PARAMS = "defaults 70"
inherit cmake pkgconfig update-rc.d
do_install:append() {
install -D -m 0755 ${WORKDIR}/tango-starter.sh ${D}${sysconfdir}/init.d/tango-starter
}