DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone" PR = "r12" inherit allarch systemd # Ask Jason LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" SRCREV = "8118a541e8927f48de2cf9ec203aa1caf88ec1f3" SRC_URI = "git://github.com/jadonk/bonescript.git \ file://bonescript-git \ file://bone101.service \ " S = "${WORKDIR}/git" do_install() { install -m 0644 ${WORKDIR}/bonescript-git ${S}/.git/config cp $(cat .git/objects/info/alternates)/pack/* .git/objects/pack rm -f ${S}/.git/objects/info/alternates echo ${SRCREV} > .git/refs/heads/master git checkout master || true install -d ${D}${localstatedir}/lib/cloud9/ cp -a ${S}/* ${D}${localstatedir}/lib/cloud9/ cp -a ${S}/.git ${D}${localstatedir}/lib/cloud9/ install -d ${D}${base_libdir}/systemd/system install -m 0644 ${WORKDIR}/bone101.service ${D}${base_libdir}/systemd/system } SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "bone101.service" FILES_${PN} += "${localstatedir} ${base_libdir}/systemd/system" CONFFILES_${PN} += "${localstatedir}/lib/cloud9/.git/config" RDEPENDS_${PN} = "nodejs cloud9" RRECOMMENDS_${PN} = "git"