aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/nodejs/APKBUILD
blob: 50601c7873eb4e41d70bbfe680b6a1ee10167c58 (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
# 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"