diff options
Diffstat (limited to 'recipes-misc/de10-nano-x11vnc-init/de10-nano-x11vnc-init.bb')
-rw-r--r-- | recipes-misc/de10-nano-x11vnc-init/de10-nano-x11vnc-init.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-misc/de10-nano-x11vnc-init/de10-nano-x11vnc-init.bb b/recipes-misc/de10-nano-x11vnc-init/de10-nano-x11vnc-init.bb new file mode 100644 index 0000000..47aea10 --- /dev/null +++ b/recipes-misc/de10-nano-x11vnc-init/de10-nano-x11vnc-init.bb @@ -0,0 +1,36 @@ +SUMMARY = "De Nano X11VNC startus" +DESCRIPTION = "De Nano scripts to start x11vnc" +AUTHOR = "Dalon Westergreen <dwesterg@gmail.com>" +SECTION = "DE10-Nano" + +PV = "1.0" +PR = "r0" + +inherit systemd + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "file://de10-nano-x11vnc-init.service \ + file://de10-nano-x11vnc-init.sh \ + " + +do_install() { + install -d ${D}${base_libdir}/systemd/system + install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system + + install -d ${D}${bindir} + install -m 0755 ${WORKDIR}/*.sh ${D}${bindir} + +} + +FILES_${PN} = "${base_libdir}/systemd/system/de10-nano-x11vnc-init.service \ + ${sysconfdir}/systemd/ \ + ${bindir}/de10-nano-x11vnc-init.sh \ + " + +NATIVE_SYSTEMD_SUPPORT = "1" +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE_${PN} = "de10-nano-x11vnc-init.service" |