mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
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@dominion.thruhere.net>
This commit is contained in:
35
meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
Normal file
35
meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
|
||||
HOMEPAGE = "http://nodejs.org"
|
||||
LICENSE = "MIT & zlib"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d6237f3a840aef5b7880fb4e49eecfe5"
|
||||
|
||||
DEPENDS = "openssl"
|
||||
|
||||
SRC_URI = " \
|
||||
http://nodejs.org/dist/node-v${PV}.tar.gz \
|
||||
file://libev-cross-cc_${PV}.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "a6375eaa43db5356bf443e25b828ae16"
|
||||
SRC_URI[sha256sum] = "c01af05b933ad4d2ca39f63cac057f54f032a4d83cff8711e42650ccee24fce4"
|
||||
|
||||
S = "${WORKDIR}/node-v${PV}"
|
||||
|
||||
# v8 errors out if you have set CCACHE
|
||||
CCACHE = ""
|
||||
|
||||
do_configure () {
|
||||
sed -i -e 's:/usr/lib:${STAGING_LIBDIR}:g' wscript
|
||||
sed -i -e 's:/usr/local/lib:${STAGING_LIBDIR}:g' wscript
|
||||
./configure --prefix=${prefix} --without-snapshot
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
make
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 build/default/node ${D}${bindir}/node4
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user