[oe-commits] Koen Kooi : nodejs 0.4.12: rename to node4 to make it parallel installable with 0.6.x

git at git.openembedded.org git at git.openembedded.org
Tue Apr 10 16:05:39 UTC 2012


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

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Sun Apr  8 11:24:01 2012 +0200

nodejs 0.4.12: rename to node4 to make it parallel installable with 0.6.x

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 at 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(-)

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"





More information about the Openembedded-commits mailing list