[oe] [PATCH] added a .bb for node.js

Koen Kooi k.kooi at student.utwente.nl
Thu Aug 19 08:37:28 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19-08-10 08:07, AJ ONeal wrote:

> diff --git a/recipes/node/node_0.1.104.bb b/recipes/node/node_0.1.104.bb
> new file mode 100644
> index 0000000..a99eaff
> --- /dev/null
> +++ b/recipes/node/node_0.1.104.bb
> @@ -0,0 +1,28 @@
> +DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"

> +PR = "r0"

r0 is the default, so remove that line, it only increases parse time.

> +DEPENDS = "openssl"
> +SRC_URI = " \
> +http://nodejs.org/dist/node-v${PV}.tar.gz \
> +file://libev-arm-cross.patch;apply=yes \
> +file://node-arm-cross.patch;apply=yes \
> +"
> +SRC_URI[md5sum] = "907fa1e0a2f1f0c3df5efc97fd05a7d2"
> +SRC_URI[sha256sum] = "a1c776f44bc07305dc0e56df17cc3260eaafa0394c3b06c27448ad85bec272df"
> +S = "${WORKDIR}/node-v${PV}"
> +do_configure () {

> +export DEST_CPU=arm

NAK, we support more than ARM cpus in OE

> +./configure
> +# skip complaints about 'config.log'
> +cat /dev/null > ${S}/build/config.log
> +}
> +do_qa_configure () {
> +}

NAK, fix the bugs instead of silencing the warning

> +do_compile () {
> +export DEST_CPU=arm
> +make
> +}

again, NAK, we support more than ARM cpus in OE


> +do_install () {
> +install -d ${D}${bindir}/
> +install -m 0755 ${S}/node ${D}${bindir}/
> +}

'make install' doesn't work?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMbO1HMkyGM64RGpERAjwhAJsGHT8vVCVIso0dGsRsyTzT1UFW2wCgrrGj
NNapHt4oedB+qSPatTwatKc=
=HuvB
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list