diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-04-12 10:04:45 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-15 16:16:52 +0200 |
commit | 4fe1acbe3b9ce058264e1a9e43d179a62ab5daa2 (patch) | |
tree | 3b964a017c26702078f5e1dc5dd954baa1caf477 /meta-oe/recipes-devtools/nodejs | |
parent | 3628f272d14b8266c87b5abce0fb80ff739aeced (diff) | |
download | meta-openembedded-4fe1acbe3b9ce058264e1a9e43d179a62ab5daa2.tar.gz |
nodejs4: reinstate installing all the files
Cloud9 needs the headers to build the o3-xml binary, using 0.8.x headers makes it crash.
This installs everything namespaced as 'node4' to avoid collisions.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs')
-rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb index 522b5396a..58ca13527 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | |||
@@ -28,8 +28,20 @@ do_compile () { | |||
28 | } | 28 | } |
29 | 29 | ||
30 | do_install () { | 30 | do_install () { |
31 | install -d ${D}${bindir} | 31 | DESTDIR=${D} oe_runmake install |
32 | install -m 0755 build/default/node ${D}${bindir}/node4 | 32 | |
33 | } | 33 | # fix namespace conflicts with other nodejs recipes |
34 | mv ${D}${bindir}/node ${D}${bindir}/node4 | ||
35 | mv ${D}${bindir}/node-waf ${D}${bindir}/node4-waf | ||
36 | |||
37 | mv ${D}${includedir}/node ${D}${includedir}/node4 | ||
34 | 38 | ||
39 | mv ${D}${libdir}/node ${D}${libdir}/node4 | ||
40 | mv ${D}${libdir}/pkgconfig/nodejs.pc ${D}${libdir}/pkgconfig/nodejs4.pc | ||
41 | sed -i -e s:include/node:include/node4: ${D}${libdir}/pkgconfig/nodejs4.pc | ||
42 | |||
43 | mv ${D}${datadir}/man/man1/node.1 ${D}${datadir}/man/man1/node4.1 | ||
44 | } | ||
35 | 45 | ||
46 | FILES_${PN} += "${libdir}/node4/wafadmin" | ||
47 | BBCLASSEXTEND = "native" | ||