u-boot_2010.12-psp03.21.00.04.sdk: Add latest u-boot recipe for am180x-evm
[glsdk/meta-ti-glsdk.git] / recipes-misc / payload / bonescript.bb
1 DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone"
3 PR = "r15"
5 inherit systemd
7 LICENSE = "MIT"
8 LIC_FILES_CHKSUM = "file://LICENSE;md5=659ee0c98db2664403c769d6b9ab50eb"
10 SRC_URI = "http://dominion.thruhere.net/koen/angstrom/beaglebone/bonescript-6af82b41178c37644399b19039ea7e80c1dbf8ee.tar.bz2 \
11            file://bonescript-git \
12            file://bone101.service \
13           "
14 SRC_URI[md5sum] = "e5e214857afbd2e59b52171e60810be2"
15 SRC_URI[sha256sum] = "e703416a63406c8b6c89fb1079406833ce6a9eb0ae1ba0a55fe3802b83186c50"
17 S = "${WORKDIR}/bonescript"
19 do_install() {
20         install -d ${D}${localstatedir}/lib/cloud9/
21         cp -a ${S}/* ${D}${localstatedir}/lib/cloud9/
22         cp -a ${S}/.git ${D}${localstatedir}/lib/cloud9/
24         install -d ${D}${base_libdir}/systemd/system
25         install -m 0644 ${WORKDIR}/bone101.service ${D}${base_libdir}/systemd/system
27         rm -f ${D}${localstatedir}/lib/cloud9/node_modules/binary/node_modules/put/test/c/itof
28         rm -f ${D}${localstatedir}/lib/cloud9/node_modules/binary/node_modules/put/test/c/ftoi
29 }
31 NATIVE_SYSTEMD_SUPPORT = "1"
32 SYSTEMD_PACKAGES = "${PN}"
33 SYSTEMD_SERVICE_${PN} = "bone101.service"
35 FILES_${PN} += "${localstatedir} ${base_libdir}/systemd/system"
36 CONFFILES_${PN} += "${localstatedir}/lib/cloud9/.git/config"
37 RDEPENDS_${PN} = "nodejs cloud9"
38 RRECOMMENDS_${PN} = "git"