diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-10-07 23:13:18 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-10-07 23:13:18 +0200 |
commit | c961f6218042399c386e776da75a401ee9989463 (patch) | |
tree | e0eca70ba450504a8ffb8e5cf50e45ae990a21f8 /meta-oe/recipes-devtools/cloud9 | |
parent | e57ec76108139fec1f8c4ee12711a9519ebb0902 (diff) | |
download | meta-openembedded-c961f6218042399c386e776da75a401ee9989463.tar.gz |
cloud9: fix packaging
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-devtools/cloud9')
-rw-r--r-- | 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 b6d2da085..1235d24f6 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" | |||
3 | LICENSE = "GPLv3" | 3 | LICENSE = "GPLv3" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/jadonk/cloud9.git;protocol=git \ | 6 | PR = "r1" |
7 | " | 7 | |
8 | SRC_URI = "git://github.com/jadonk/cloud9.git;protocol=git" | ||
8 | 9 | ||
9 | SRCREV = "08bae1d1cc2ba9f7f883a25afd07f0339a82fa8b" | 10 | SRCREV = "08bae1d1cc2ba9f7f883a25afd07f0339a82fa8b" |
10 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
@@ -29,11 +30,19 @@ do_compile () { | |||
29 | do_install () { | 30 | do_install () { |
30 | install -m 0755 -d ${D}/usr/share/cloud9 ${D}${bindir} ${D}/var/lib/cloud9 | 31 | install -m 0755 -d ${D}/usr/share/cloud9 ${D}${bindir} ${D}/var/lib/cloud9 |
31 | rsync -r --exclude=".*" ${S}/* ${D}/usr/share/cloud9 | 32 | rsync -r --exclude=".*" ${S}/* ${D}/usr/share/cloud9 |
33 | |||
34 | for i in cygwin darwin linux32 linux64 sunos ; do | ||
35 | rm -f ${D}/usr/share/cloud9/support/node-builds-v4/*$i* | ||
36 | rm -f ${D}/usr/share/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/*$i* | ||
37 | rm -f ${D}//usr/share/cloud9/support/gnu-builds/*$i* | ||
38 | done | ||
39 | |||
32 | touch ${D}${bindir}/cloud9 | 40 | touch ${D}${bindir}/cloud9 |
33 | echo "#!/bin/sh" > ${D}${bindir}/cloud9 | 41 | echo "#!/bin/sh" > ${D}${bindir}/cloud9 |
34 | echo "node /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9 | 42 | echo "node /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9 |
35 | chmod 0755 ${D}${bindir}/cloud9 | 43 | chmod 0755 ${D}${bindir}/cloud9 |
36 | } | 44 | } |
37 | 45 | ||
46 | FILES_${PN}-dbg += "/usr/share/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/.debug" | ||
38 | RDEPENDS_${PN} = "nodejs" | 47 | RDEPENDS_${PN} = "nodejs" |
39 | 48 | ||