[oe] [meta-oe][PATCH 2/2] nodejs: update to 0.6.20

Martin Jansa martin.jansa at gmail.com
Tue Aug 7 08:13:47 UTC 2012


On Tue, Aug 07, 2012 at 09:47:30AM +0200, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
>  meta-oe/recipes-devtools/nodejs/nodejs_0.6.18.bb |   65 ----------------------
>  meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb |   64 +++++++++++++++++++++
>  2 files changed, 64 insertions(+), 65 deletions(-)
>  delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs_0.6.18.bb
>  create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb

Can you resend with -M (if it wasn't already) ?

> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.6.18.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.6.18.bb
> deleted file mode 100644
> index 7136ffc..0000000
> --- a/meta-oe/recipes-devtools/nodejs/nodejs_0.6.18.bb
> +++ /dev/null
> @@ -1,65 +0,0 @@
> -DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
> -HOMEPAGE = "http://nodejs.org"
> -LICENSE = "MIT & BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=914812f2875eef849b5c509cc25dcb4f"
> -
> -DEPENDS = "openssl"
> -
> -SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz \
> -           file://fix-hardfloat-detection.patch"
> -
> -SRC_URI[md5sum] = "4a3d3123ccc7b9b21c1990fe074e3d14"
> -SRC_URI[sha256sum] = "6cf4311ecbc1700e88f4382a31b3a7017c1572cd641fd06e653fc1692c2cffff"
> -
> -S = "${WORKDIR}/node-v${PV}"
> -
> -# v8 errors out if you have set CCACHE
> -CCACHE = ""
> -
> -do_configure_virtclass-native () {
> -  sed -i -e s:\'/usr/lib:\'${STAGING_LIBDIR}:g wscript
> -  sed -i -e s:\'/usr/local/lib:\'${STAGING_LIBDIR}:g wscript
> -
> -  ./configure --prefix=${prefix} --without-snapshot
> -}
> -
> -# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround waf+scons
> -do_configure () {
> -  echo '#!/bin/sh' > ${WORKDIR}/gcc
> -  echo '${CC} $@' >> ${WORKDIR}/gcc
> -
> -  echo '#!/bin/sh' > ${WORKDIR}/g++
> -  echo '${CXX} $@'>> ${WORKDIR}/g++
> -
> -  chmod +x ${WORKDIR}/gcc ${WORKDIR}/g++
> -
> -  sed -i -e s:\'/usr/lib:\'${STAGING_LIBDIR}:g wscript
> -  sed -i -e s:\'/usr/local/lib:\'${STAGING_LIBDIR}:g wscript
> -
> -  export PATH=${WORKDIR}:${PATH}
> -  export CC=gcc
> -  export CXX=g++
> -
> -  ./configure --prefix=${prefix} --without-snapshot
> -}
> -
> -do_compile_virtclass-native () {
> -  make BUILDTYPE=Release
> -}
> -
> -do_compile () {
> -  export PATH=${WORKDIR}:${PATH}
> -  export CC=gcc
> -  export CXX=g++
> -  make BUILDTYPE=Release
> -}
> -
> -do_install () {
> -  DESTDIR=${D} oe_runmake install
> -}
> -
> -RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
> -RDEPENDS_${PN}_virtclass-native = "curl-native python-native"
> -
> -FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules"
> -BBCLASSEXTEND = "native"
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb
> new file mode 100644
> index 0000000..77ed388
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb
> @@ -0,0 +1,64 @@
> +DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
> +HOMEPAGE = "http://nodejs.org"
> +LICENSE = "MIT & BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=914812f2875eef849b5c509cc25dcb4f"
> +
> +DEPENDS = "openssl"
> +
> +SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz \
> +           file://fix-hardfloat-detection.patch"
> +SRC_URI[md5sum] = "fcf8e0f2981f9dd66606a2162a2df55d"
> +SRC_URI[sha256sum] = "b7bf4cf143ddf46ba5e975761b98a38dd3d72b176fd5d4bb2f9c9e7bbe6c4b15"
> +
> +S = "${WORKDIR}/node-v${PV}"
> +
> +# v8 errors out if you have set CCACHE
> +CCACHE = ""
> +
> +do_configure_virtclass-native () {
> +  sed -i -e s:\'/usr/lib:\'${STAGING_LIBDIR}:g wscript
> +  sed -i -e s:\'/usr/local/lib:\'${STAGING_LIBDIR}:g wscript
> +
> +  ./configure --prefix=${prefix} --without-snapshot
> +}
> +
> +# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround waf+scons
> +do_configure () {
> +  echo '#!/bin/sh' > ${WORKDIR}/gcc
> +  echo '${CC} $@' >> ${WORKDIR}/gcc
> +
> +  echo '#!/bin/sh' > ${WORKDIR}/g++
> +  echo '${CXX} $@'>> ${WORKDIR}/g++
> +
> +  chmod +x ${WORKDIR}/gcc ${WORKDIR}/g++
> +
> +  sed -i -e s:\'/usr/lib:\'${STAGING_LIBDIR}:g wscript
> +  sed -i -e s:\'/usr/local/lib:\'${STAGING_LIBDIR}:g wscript
> +
> +  export PATH=${WORKDIR}:${PATH}
> +  export CC=gcc
> +  export CXX=g++
> +
> +  ./configure --prefix=${prefix} --without-snapshot
> +}
> +
> +do_compile_virtclass-native () {
> +  make BUILDTYPE=Release
> +}
> +
> +do_compile () {
> +  export PATH=${WORKDIR}:${PATH}
> +  export CC=gcc
> +  export CXX=g++
> +  make BUILDTYPE=Release
> +}
> +
> +do_install () {
> +  DESTDIR=${D} oe_runmake install
> +}
> +
> +RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
> +RDEPENDS_${PN}_virtclass-native = "curl-native python-native"
> +
> +FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules"
> +BBCLASSEXTEND = "native"
> -- 
> 1.7.10
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20120807/1030fa72/attachment-0002.sig>


More information about the Openembedded-devel mailing list