diff options
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs/nodejs_0.4.12.bb')
-rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_0.4.12.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.4.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.4.12.bb new file mode 100644 index 000000000..22e1384d4 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.4.12.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" | ||
2 | HOMEPAGE = "http://nodejs.org" | ||
3 | LICENSE = "MIT && zlib" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d6237f3a840aef5b7880fb4e49eecfe5" | ||
5 | |||
6 | DEPENDS = "openssl" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | http://nodejs.org/dist/node-v${PV}.tar.gz \ | ||
10 | file://libev-cross-cc_${PV}.patch \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "a6375eaa43db5356bf443e25b828ae16" | ||
13 | SRC_URI[sha256sum] = "c01af05b933ad4d2ca39f63cac057f54f032a4d83cff8711e42650ccee24fce4" | ||
14 | |||
15 | S = "${WORKDIR}/node-v${PV}" | ||
16 | |||
17 | # v8 errors out if you have set CCACHE | ||
18 | CCACHE = "" | ||
19 | |||
20 | do_configure () { | ||
21 | sed -i -e 's:/usr/lib:${STAGING_LIBDIR}:g' wscript | ||
22 | sed -i -e 's:/usr/local/lib:${STAGING_LIBDIR}:g' wscript | ||
23 | ./configure --prefix=${prefix} --without-snapshot | ||
24 | } | ||
25 | |||
26 | do_compile () { | ||
27 | make | ||
28 | } | ||
29 | |||
30 | do_install () { | ||
31 | DESTDIR=${D} oe_runmake install | ||
32 | } | ||
33 | |||
34 | RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient " | ||
35 | |||
36 | FILES_${PN} += "${libdir}/node/wafadmin" | ||
37 | BBCLASSEXTEND = "native" | ||