LICENSE = "MIT" #MY_FILES = LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" inherit systemd SYSTEMD_AUTO_ENABLE:${PN} = "enable" SYSTEMD_SERVICE:${PN} = "rt.service" SRC_URI:append = "file://rt-setup \ file://rt.service \ file://COPYING.MIT \ " PV = "0.1" S = '${UNPACKDIR}' TARGET_CC_ARCH += " ${LDFLAGS}" RDEPENDS:${PN} += " bash " FILES:${PN} += " /usr/bin/rt-setup \ ${systemd_unitdir}/system/rt.service \ " FILES:${PN}-dev = " " FILES:${PN}-dbg = " " do_install () { install -d ${D}/usr/bin #install -d ${D}${sysconfdir}/init.d install -d ${D}${systemd_unitdir}/system install -m 0755 ${UNPACKDIR}/rt.service ${D}${systemd_unitdir}/system/rt.service install -m 0755 ${UNPACKDIR}/rt-setup ${D}/usr/bin/rt-setup #update-rc.d -r ${D} rt-setup start 03 S . }