summaryrefslogtreecommitdiff
path: root/recipes/nodejs/nodejs_0.2.1.bb
diff options
context:
space:
mode:
authorAJ ONeal <coolaj86+fastr@gmail.com>2010-09-15 07:05:32 +0000
committerCliff Brake <cbrake@bec-systems.com>2010-09-15 13:44:45 -0400
commite7a8e95df93c73a7c0114ee0dd937ea0d51ca908 (patch)
treebd98f9cf3a463cc9e216c3f786ff8e876c1faff1 /recipes/nodejs/nodejs_0.2.1.bb
parent1ab0da8b2b22938def057b223eeb1091024c31ca (diff)
nodejs: replaced v0.2.0 with v0.2.1
* now includes node-waf and node-repl * updated pathname in libev-cross-cc and libev-cross-cc * removed patch which is no longer necessary (applied upstream) Signed-off-by: AJ ONeal <coolaj86@gmail.com>
Diffstat (limited to 'recipes/nodejs/nodejs_0.2.1.bb')
-rw-r--r--recipes/nodejs/nodejs_0.2.1.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/nodejs/nodejs_0.2.1.bb b/recipes/nodejs/nodejs_0.2.1.bb
new file mode 100644
index 0000000000..5479118f8c
--- /dev/null
+++ b/recipes/nodejs/nodejs_0.2.1.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
+HOMEPAGE = "http://nodejs.org"
+LICENSE = "MIT"
+DEPENDS = "openssl"
+SRC_URI = " \
+ http://nodejs.org/dist/node-v${PV}.tar.gz \
+ file://libev-cross-cc.patch \
+ file://node-cross-cc.patch \
+"
+SRC_URI[md5sum] = "c6051dd216817bf0f95bea80c42cf262"
+SRC_URI[sha256sum] = "5bb7d084b2138ce43fcb34739ed894379c450a1dd569a1c710405bc39d2861c2"
+S = "${WORKDIR}/node-v${PV}"
+do_configure () {
+ ./configure --without-snapshot
+}
+do_compile () {
+ make
+}
+do_install () {
+ #oe_runmake install # doesn't install to correct location
+
+ # This works
+ install -d ${D}${bindir}/
+ install -m 0755 ${S}/build/default/node ${D}${bindir}/
+ install -m 0755 ${S}/bin/node-waf ${D}${bindir}/
+ install -m 0755 ${S}/bin/node-repl ${D}${bindir}/
+}
+FILES_${PN} = "${bindir}/node ${bindir}/node-repl ${bindir}/node-waf"