Commit 687be547 authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/nodejs: upgrade to 0.10.25 and build with more sys libs

parent e56db141
# Contributor: William Pitcock <nenolod@dereferenced.org>
pkgname=nodejs
pkgver=0.10.25
pkgrel=0
pkgdesc='Evented I/O for V8 javascript'
url='http://nodejs.org/'
arch='all'
license='MIT'
makedepends="$depends_dev python openssl-dev zlib-dev libuv-dev c-ares-dev
paxctl"
subpackages="$pkgname-dev $pkgname-doc"
source="http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz"
build() {
cd "$srcdir"/node-v$pkgver
./configure --prefix=/usr \
--shared-zlib \
--shared-libuv \
--shared-cares \
--shared-openssl || return 1
make -C out BUILDTYPE=Release mksnapshot || return 1
paxctl -c -m out/Release/mksnapshot || return 1
make || return 1
}
package() {
cd "$srcdir"/node-v$pkgver
make DESTDIR="$pkgdir" install || return 1
# paxmark so JIT works
paxctl -cm "$pkgdir"/usr/bin/node || return 1
}
md5sums="153bdbf77b4473df2600b8ce123ef331 node-v0.10.25.tar.gz"
sha256sums="46eef3b9d5475a2081dc2b2f7cf1f4c3a56824d1fc9b04e7ed1d7a88e8f6b36f node-v0.10.25.tar.gz"
sha512sums="1e37c14d49fa51b23e56016d490760072e0d076c34e44e6464545024af57f079a017ec33214e9465d79277d80b76085916a76df624da9bfd45b6de6554047e48 node-v0.10.25.tar.gz"
# Contributor: William Pitcock <nenolod@dereferenced.org>
pkgname=nodejs
pkgver=0.10.20
pkgrel=0
pkgdesc='Evented I/O for V8 javascript'
url='http://nodejs.org/'
arch='all'
license='MIT'
makedepends="$depends_dev python openssl-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz"
build() {
cd "$srcdir"/node-v$pkgver
./configure --prefix=/usr \
--shared-openssl || return 1
make || return 1
}
package() {
cd "$srcdir"/node-v$pkgver
make DESTDIR="$pkgdir" install || return 1
}
md5sums="784e7d7a8e29dfec88ddb2e72a895407 node-v0.10.20.tar.gz"
sha256sums="b5af00d4d43644f37caa2dad5fa81e6f898ebb7b238f02a1cddfcff11c81e649 node-v0.10.20.tar.gz"
sha512sums="48062c5a8ed82e06da49af521f3df1fbe00077a1449340fcb2fd0ee1eff3f03d7f95e1cb064d22c3fc864b41ee7fe21cbec9a761d6d028bf645f48b2b7f2c9ca node-v0.10.20.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment