[oe] [PATCH 05/10] nodejs: add 0.4.0
Khem Raj
raj.khem at gmail.com
Wed Feb 16 22:57:27 UTC 2011
On (16/02/11 11:33), Eric Bénard wrote:
> 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 at eukrea.com>
> Cc: AJ ONeal <coolaj86 at gmail.com>
in general looks fine if AJ does not find anything
Acked-by: Khem Raj <raj.khem at 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
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
-Khem
More information about the Openembedded-devel
mailing list