SUMMARY = "Der TSGRain Controller ist für die Ausführung der Bewässerungslogik zuständig." HOMEPAGE = "https://code.thetadev.de/TSGRain/Controller" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c3b5d17189e3e31b116e69cb55542780" UPSTREAM_CHECK_URI = "https://code.thetadev.de/TSGRain/Controller/tags" SRC_URI:append = " file://tsgrain-controller.service \ file://tsgrain.toml" S = "${WORKDIR}/controller" inherit setuptools3 systemd do_install_append() { install -d ${D}${systemd_unitdir}/system/ install -m 644 ${WORKDIR}/tsgrain-controller.service ${D}${systemd_unitdir}/system/ sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/tsgrain-controller.service # Install config file to appfs install -D -m 644 ${WORKDIR}/tsgrain.toml ${D}/data/tsgrain/tsgrain.toml } FILES_${PN} += "${systemd_unitdir}/system/tsgrain-controller.service \ /data/tsgrain/tsgrain.toml" SYSTEMD_SERVICE_${PN} = "tsgrain-controller.service" SYSTEMD_AUTO_ENABLE_${PN} = "enable" RDEPENDS_${PN} += "python3-core python3-json \ rpi-gpio python3-smbus python3-schedule python3-tinydb \ python3-cyra python3-protobuf python3-grpcio"