1 SUMMARY = "Systemd unit for CAN device helper"
3 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 SRC_URI = "file://can-dev-helper.service \
6 file://can-dev-helper.sh \
9 S = "${WORKDIR}/sources"
12 inherit systemd allarch
14 SYSTEMD_SERVICE:${PN} = "${BPN}.service"
16 do_configure[noexec] = "1"
17 do_compile[noexec] = "1"
20 install -D -m 0644 ${UNPACKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service
21 install -D -m 0755 ${UNPACKDIR}/${BPN}.sh ${D}${sbindir}/${BPN}.sh
24 FILES:${PN} += "${systemd_system_unitdir}"
26 RDEPENDS:${PN} += "bash"