diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-14 18:27:42 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-14 18:27:42 +0100 |
| commit | a49c995b40fafa45575554b1b842da012e9803c2 (patch) | |
| tree | a7557746f444aa3c17c1de78f5f60fafa3660ff6 /meta-oe/recipes-devtools/nodejs/nodejs_0.4.9.bb | |
| parent | a03a4083df90184fc1083b2f01952a50cfa51bca (diff) | |
| download | meta-openembedded-a49c995b40fafa45575554b1b842da012e9803c2.tar.gz | |
nodejs: update to 0.4.9
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs/nodejs_0.4.9.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_0.4.9.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.4.9.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.4.9.bb new file mode 100644 index 0000000000..70a526d5cb --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.4.9.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] = "e525b8b99d949bf2f031bc262c138e96" | ||
| 13 | SRC_URI[sha256sum] = "f231ea6d19ea9ea4c7f8e7ff5061e7d301f1635bec7ed0ff1eef2512576ea442" | ||
| 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" | ||
