[oe-commits] Koen Kooi : cloud9: fix packaging

git version control git at git.openembedded.org
Fri Oct 7 21:15:46 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: c961f6218042399c386e776da75a401ee9989463
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=c961f6218042399c386e776da75a401ee9989463

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Fri Oct  7 23:13:18 2011 +0200

cloud9: fix packaging

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb
index b6d2da0..1235d24 100644
--- a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb
+++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb
@@ -3,8 +3,9 @@ HOMEPAGE = "http://c9.io"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018"
 
-SRC_URI = "git://github.com/jadonk/cloud9.git;protocol=git \
-"
+PR = "r1"
+
+SRC_URI = "git://github.com/jadonk/cloud9.git;protocol=git"
 
 SRCREV = "08bae1d1cc2ba9f7f883a25afd07f0339a82fa8b"
 S = "${WORKDIR}/git"
@@ -29,11 +30,19 @@ do_compile () {
 do_install () {
  install -m 0755 -d ${D}/usr/share/cloud9 ${D}${bindir} ${D}/var/lib/cloud9
  rsync -r --exclude=".*" ${S}/* ${D}/usr/share/cloud9
+
+ for i in cygwin darwin linux32 linux64 sunos ; do
+   rm -f ${D}/usr/share/cloud9/support/node-builds-v4/*$i*
+   rm -f ${D}/usr/share/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/*$i*
+   rm -f ${D}//usr/share/cloud9/support/gnu-builds/*$i*
+ done
+
  touch ${D}${bindir}/cloud9
  echo "#!/bin/sh" > ${D}${bindir}/cloud9
  echo "node /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9
  chmod 0755 ${D}${bindir}/cloud9
 }
 
+FILES_${PN}-dbg += "/usr/share/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/.debug"
 RDEPENDS_${PN} = "nodejs"
 





More information about the Openembedded-commits mailing list