summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb')
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb30
1 files changed, 15 insertions, 15 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 d01a3c405..89a3232f3 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d6237f3a840aef5b7880fb4e49eecfe5"
6DEPENDS = "openssl" 6DEPENDS = "openssl"
7 7
8SRC_URI = " \ 8SRC_URI = " \
9 http://nodejs.org/dist/node-v${PV}.tar.gz \ 9 http://nodejs.org/dist/node-v${PV}.tar.gz \
10 file://libev-cross-cc_${PV}.patch \ 10 file://libev-cross-cc_${PV}.patch \
11" 11"
12SRC_URI[md5sum] = "a6375eaa43db5356bf443e25b828ae16" 12SRC_URI[md5sum] = "a6375eaa43db5356bf443e25b828ae16"
13SRC_URI[sha256sum] = "c01af05b933ad4d2ca39f63cac057f54f032a4d83cff8711e42650ccee24fce4" 13SRC_URI[sha256sum] = "c01af05b933ad4d2ca39f63cac057f54f032a4d83cff8711e42650ccee24fce4"
@@ -18,29 +18,29 @@ S = "${WORKDIR}/node-v${PV}"
18CCACHE = "" 18CCACHE = ""
19 19
20do_configure () { 20do_configure () {
21 sed -i -e 's:/usr/lib:${STAGING_LIBDIR}:g' wscript 21 sed -i -e 's:/usr/lib:${STAGING_LIBDIR}:g' wscript
22 sed -i -e 's:/usr/local/lib:${STAGING_LIBDIR}:g' wscript 22 sed -i -e 's:/usr/local/lib:${STAGING_LIBDIR}:g' wscript
23 ./configure --prefix=${prefix} --without-snapshot 23 ./configure --prefix=${prefix} --without-snapshot
24} 24}
25 25
26do_compile () { 26do_compile () {
27 make 27 make
28} 28}
29 29
30do_install () { 30do_install () {
31 oe_runmake install DESTDIR=${D} 31 oe_runmake install DESTDIR=${D}
32 32
33 # fix namespace conflicts with other nodejs recipes 33 # fix namespace conflicts with other nodejs recipes
34 mv ${D}${bindir}/node ${D}${bindir}/node4 34 mv ${D}${bindir}/node ${D}${bindir}/node4
35 mv ${D}${bindir}/node-waf ${D}${bindir}/node4-waf 35 mv ${D}${bindir}/node-waf ${D}${bindir}/node4-waf
36 36
37 mv ${D}${includedir}/node ${D}${includedir}/node4 37 mv ${D}${includedir}/node ${D}${includedir}/node4
38 38
39 mv ${D}${libdir}/node ${D}${libdir}/node4 39 mv ${D}${libdir}/node ${D}${libdir}/node4
40 mv ${D}${libdir}/pkgconfig/nodejs.pc ${D}${libdir}/pkgconfig/nodejs4.pc 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 41 sed -i -e s:include/node:include/node4: ${D}${libdir}/pkgconfig/nodejs4.pc
42 42
43 mv ${D}${datadir}/man/man1/node.1 ${D}${datadir}/man/man1/node4.1 43 mv ${D}${datadir}/man/man1/node.1 ${D}${datadir}/man/man1/node4.1
44} 44}
45 45
46FILES_${PN} += "${libdir}/node4/wafadmin" 46FILES_${PN} += "${libdir}/node4/wafadmin"