nodejs: update to 0.8.1.

This commit is contained in:
Juan RP 2012-06-30 19:57:51 +02:00
parent 59289f667e
commit 1d28341995
3 changed files with 13 additions and 55 deletions

View File

@ -2,9 +2,10 @@ librt.so.1
libdl.so.2
libv8.so
libstdc++.so.6
libgcc_s.so.1
libgcc_s.so.1 i686
libpthread.so.0
libc.so.6
libz.so.1
libssl.so.1
libcrypto.so.1
libm.so.6 x86_64

View File

@ -1,31 +0,0 @@
diff --git a/configure b/configure
index 338ec3c..8dd6884 100755
--- configure
+++ configure
@@ -330,7 +330,6 @@ def configure_v8(o):
o['libraries'] += ['-lv8']
if options.shared_v8_includes:
o['include_dirs'] += [options.shared_v8_includes]
- o['variables']['node_shared_v8_includes'] = options.shared_v8_includes
def configure_openssl(o):
diff --git a/node.gyp b/node.gyp
index 0816442..933812e 100644
--- node.gyp
+++ node.gyp
@@ -177,12 +177,7 @@
'<(SHARED_INTERMEDIATE_DIR)/node_etw_provider.rc',
]
} ],
- [ 'node_shared_v8=="true"', {
- 'sources': [
- '<(node_shared_v8_includes)/v8.h',
- '<(node_shared_v8_includes)/v8-debug.h',
- ],
- }, {
+ [ 'node_shared_v8=="false"', {
'sources': [
'deps/v8/include/v8.h',
'deps/v8/include/v8-debug.h',

View File

@ -1,16 +1,20 @@
# Template file for 'nodejs'
pkgname=nodejs
version=0.8.0
homepage="http://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
version=0.8.1
revision=1
nostrip=yes
wrksrc=node-v${version}
build_style=configure
configure_args="--prefix=/usr --openssl-use-sys --shared-v8 --shared-zlib"
subpackages="${pkgname}-devel ${pkgname}-docs"
makedepends="pkg-config openssl-devel v8-devel zlib-devel"
fulldepends="python"
nostrip=yes
revision=2
short_desc="Evented I/O for V8 javascript"
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
checksum=ecafca018b5109a28537633d0433d513f68b1bae7191a1821e8eaa84ccf128ee
homepage="http://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
checksum=0cda1325a010ce18f68501ae68e0ce97f0094e7a282c34a451f552621643a884
long_desc="
Node.js is a software system designed for writing highly-scalable internet
applications, notably web servers. Programs are written in JavaScript, using
@ -30,22 +34,6 @@ long_desc="
Node.js implements some CommonJS specifications. It provides a REPL
environment for interactive testing."
subpackages="${pkgname}-devel ${pkgname}-docs"
wrksrc=node-v${version}
do_configure()
{
./configure --prefix=/usr --openssl-use-sys --shared-v8 --shared-zlib
}
do_build()
{
make ${makejobs}
}
do_install()
{
make ${makejobs} DESTDIR=$DESTDIR install
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}