Patchwork [meta-oe,02/10] nodejs 0.4.12: rename to node4 to make it parallel installable with 0.6.x

login
register
mail settings
Submitter Koen Kooi
Date April 9, 2012, 3:16 p.m.
Message ID <1333984573-28464-2-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/25431/
State New, archived
Headers show

Comments

Koen Kooi - April 9, 2012, 3:16 p.m.
This is done to support running cloud9 using node 0.4.x but all other node apps with 0.6.x

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 .../libev-cross-cc_0.4.12.patch                    |    0
 .../nodejs/{nodejs_0.4.12.bb => nodejs4_0.4.12.bb} |    7 ++-----
 2 files changed, 2 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-devtools/nodejs/{nodejs => nodejs4}/libev-cross-cc_0.4.12.patch (100%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs_0.4.12.bb => nodejs4_0.4.12.bb} (72%)

Patch

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/libev-cross-cc_0.4.12.patch b/meta-oe/recipes-devtools/nodejs/nodejs4/libev-cross-cc_0.4.12.patch
similarity index 100%
rename from meta-oe/recipes-devtools/nodejs/nodejs/libev-cross-cc_0.4.12.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs4/libev-cross-cc_0.4.12.patch
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.4.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
similarity index 72%
rename from meta-oe/recipes-devtools/nodejs/nodejs_0.4.12.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
index b87b969..522b539 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_0.4.12.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
@@ -28,11 +28,8 @@  do_compile () {
 }
 
 do_install () {
-  DESTDIR=${D} oe_runmake install
+  install -d ${D}${bindir}
+  install -m 0755 build/default/node ${D}${bindir}/node4
 }
 
-RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
-RDEPENDS_${PN}_virtclass-native = "curl-native python-native"
 
-FILES_${PN} += "${libdir}/node/wafadmin"
-BBCLASSEXTEND = "native"