mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 16:40:03 +00:00
nodejs 0.6.x: update to 0.6.14
The LICENSE checksum changed due to date changes and clarification on licenses of included "libraries" like the markdown parser Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
+16
-6
@@ -1,21 +1,26 @@
|
|||||||
DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
|
DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
|
||||||
HOMEPAGE = "http://nodejs.org"
|
HOMEPAGE = "http://nodejs.org"
|
||||||
LICENSE = "MIT & BSD"
|
LICENSE = "MIT & BSD"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=672cc6c8dbb3e918277a61ea98f088f6"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=d66c1f33ba9b89616e45f588e7606ee6"
|
||||||
|
|
||||||
DEFAULT_PREFERENCE = "-1"
|
|
||||||
|
|
||||||
DEPENDS = "openssl"
|
DEPENDS = "openssl"
|
||||||
|
|
||||||
SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz"
|
SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz"
|
||||||
SRC_URI[md5sum] = "9fd7baa2d27b848c3134e6ae35bb87b2"
|
SRC_URI[md5sum] = "3033a866e230cca64e212ee8f2af27dd"
|
||||||
SRC_URI[sha256sum] = "e6cbfc5ccdbe10128dbbd4dc7a88c154d80f8a39c3a8477092cf7d25eef78c9c"
|
SRC_URI[sha256sum] = "e41922308155c5197c2d048948ca9cd76ea5f9a51f977e1591bd93fe17d4cf1f"
|
||||||
|
|
||||||
S = "${WORKDIR}/node-v${PV}"
|
S = "${WORKDIR}/node-v${PV}"
|
||||||
|
|
||||||
# v8 errors out if you have set CCACHE
|
# v8 errors out if you have set CCACHE
|
||||||
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
|
# 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 () {
|
do_configure () {
|
||||||
echo '#!/bin/sh' > ${WORKDIR}/gcc
|
echo '#!/bin/sh' > ${WORKDIR}/gcc
|
||||||
@@ -36,6 +41,10 @@ do_configure () {
|
|||||||
./configure --prefix=${prefix} --without-snapshot
|
./configure --prefix=${prefix} --without-snapshot
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_compile_virtclass-native () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
do_compile () {
|
do_compile () {
|
||||||
export PATH=${WORKDIR}:${PATH}
|
export PATH=${WORKDIR}:${PATH}
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
@@ -48,6 +57,7 @@ do_install () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
|
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"
|
FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules"
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
Reference in New Issue
Block a user