Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 05/10] nodejs: add 0.4.0
Date: Wed, 16 Feb 2011 11:33:49 +0100	[thread overview]
Message-ID: <1297852433-31160-5-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1297852433-31160-1-git-send-email-eric@eukrea.com>

compile tested for armv5, previous node-cross-cc_0.2.6.patch
doesn't seems anymore necessary unless I made a mistake, AJ may
you please check this point ?

Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: AJ ONeal <coolaj86@gmail.com>
---
 recipes/nodejs/files/libev-cross-cc_0.4.0.patch |   13 +++++++++
 recipes/nodejs/nodejs_0.4.0.bb                  |   32 +++++++++++++++++++++++
 2 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 recipes/nodejs/files/libev-cross-cc_0.4.0.patch
 create mode 100644 recipes/nodejs/nodejs_0.4.0.bb

diff --git a/recipes/nodejs/files/libev-cross-cc_0.4.0.patch b/recipes/nodejs/files/libev-cross-cc_0.4.0.patch
new file mode 100644
index 0000000..2b9838f
--- /dev/null
+++ b/recipes/nodejs/files/libev-cross-cc_0.4.0.patch
@@ -0,0 +1,13 @@
+diff --git a/deps/libev/wscript b/deps/libev/wscript
+index 4f6c9a8..1796749 100644
+--- a/deps/libev/wscript
++++ b/deps/libev/wscript
+@@ -58,7 +58,7 @@ def configure(conf):
+           return 0;
+       }
+   """
+-  conf.check_cc(fragment=code, define_name="HAVE_CLOCK_SYSCALL", execute=True,
++  conf.check_cc(fragment=code, define_name="HAVE_CLOCK_SYSCALL", execute=False,
+                 msg="Checking for SYS_clock_gettime")
+ 
+   have_librt = conf.check(lib='rt', uselib_store='RT')
diff --git a/recipes/nodejs/nodejs_0.4.0.bb b/recipes/nodejs/nodejs_0.4.0.bb
new file mode 100644
index 0000000..be3d23e
--- /dev/null
+++ b/recipes/nodejs/nodejs_0.4.0.bb
@@ -0,0 +1,32 @@
+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_${PV}.patch \
+"
+
+SRC_URI[md5sum] = "18f89256751f9b8e27dee8494f508171"
+SRC_URI[sha256sum] = "4a30bd9963373cb86a994479bdd451ab3b6f2124f0089493366315da79d3408e"
+
+S = "${WORKDIR}/node-v${PV}"
+
+# v8 errors out if you have set CCACHE
+CCACHE = ""
+
+do_configure () {
+  ./configure --prefix=${prefix} --without-snapshot
+}
+
+do_compile () {
+  make
+}
+
+do_install () {
+  DESTDIR=${D} oe_runmake install
+}
+
+BBCLASSEXTEND = "native"
-- 
1.7.0.4




  parent reply	other threads:[~2011-02-16 10:34 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16 10:33 [PATCH 01/10] util-linux-ng: add 2.18 Eric Bénard
2011-02-16 10:33 ` [PATCH 02/10] gnokii-0.6.14: fix download link Eric Bénard
2011-02-16 22:54   ` Khem Raj
2011-02-16 10:33 ` [PATCH 03/10] gnokii: add latest version Eric Bénard
2011-02-16 22:55   ` Khem Raj
2011-02-17 13:34     ` Eric Bénard
2011-02-16 10:33 ` [PATCH 04/10] gnokii: remove old recipes Eric Bénard
2011-02-16 22:56   ` Khem Raj
2011-02-16 10:33 ` Eric Bénard [this message]
2011-02-16 22:57   ` [PATCH 05/10] nodejs: add 0.4.0 Khem Raj
2011-02-16 10:33 ` [PATCH 06/10] busybox: add group to -passwd package Eric Bénard
2011-02-16 22:58   ` Khem Raj
2011-02-16 10:33 ` [PATCH 07/10] busybox: add 1.18.3 and its fixes Eric Bénard
2011-02-16 22:59   ` Khem Raj
2011-02-16 10:33 ` [PATCH 08/10] angstrom-2010: prefer busybox-1.18.3 Eric Bénard
2011-02-16 11:49   ` Koen Kooi
2011-02-16 11:57     ` Eric Bénard
2011-02-16 18:22       ` Khem Raj
2011-02-16 10:33 ` [PATCH 09/10] slugos: prefer busybox 1.18.3 Eric Bénard
2011-02-16 23:00   ` Khem Raj
2011-02-17  1:00     ` Mike Westerhof
2011-02-16 11:58 ` [PATCH 10/10] busybox: remove 1.18.2 Eric Bénard
2011-02-16 23:01   ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1297852433-31160-5-git-send-email-eric@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox