blob: e9749e03277df1d7eea27e86ee6f5c66f2ca9228 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=nodejs
pkgver=0.10.29
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="e14ea9f46f9beecdf4e9423fb626c70b node-v0.10.29.tar.gz"
sha256sums="47379d01f765f87c1a1498b4e65de30e45201de50334954860d7375a8258b15d node-v0.10.29.tar.gz"
sha512sums="f59a47561b24f7bef09f42916d9a3af5d5a400001a04e7d39f8c73e1daaa8bc535096398e1a733175cf4efccf4c3e46dd91552eea2832f1d3b5c75084ed7d28d node-v0.10.29.tar.gz"
|