From patchwork Sat Sep 24 07:08:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-oe] WIP: cloud9: created Date: Sat, 24 Sep 2011 07:08:14 -0000 From: Jason Kridner X-Patchwork-Id: 12077 Message-Id: <1316848094-30368-1-git-send-email-jdk@ti.com> To: Cloud9 is a web-browser based IDE. This application should support multiple architectures as long as they have node.js and a build of node-o3-xml that is dropped into this system. Ideally, that library would be added separately as a system-dependent portion, because everything else should be ISA independent. Advice on cleaning up this recipe is welcome. I will continue to improve it as I understand how. It is rather useful as-is. --- meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb | 28 +++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb new file mode 100644 index 0000000..626332f --- /dev/null +++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Meet Cloud9, development-as-a-service for Javascripters and other developers" +HOMEPAGE = "http://c9.io" +RDEPENDS = "nodejs" + +SRC_URI = "git://github.com/jadonk/cloud9.git;protocol=git \ +" + +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018" + +SRCREV = "08bae1d1cc2ba9f7f883a25afd07f0339a82fa8b" +S = "${WORKDIR}/git" + +do_configure_prepend () { + git submodule update --init --recursive +} + +do_compile () { +} + +do_install () { + install -m 0755 -d ${D}/usr/share/cloud9 ${D}${bindir} + rsync -r --exclude=".*" ${S}/* ${D}/usr/share/cloud9 + touch ${D}${bindir}/cloud9 + echo "#!/bin/sh" > ${D}${bindir}/cloud9 + echo "node /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /home/root -p 3000" >> ${D}${bindir}/cloud9 + chmod 0755 ${D}${bindir}/cloud9 +}