diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-09-14 10:39:00 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-09-14 10:39:00 +0200 |
commit | c918595cd90c16f9dfcd61ab5be5efe0d8557df3 (patch) | |
tree | f9360d05be8530e0157b8119125dae7b5554e157 /main/nodejs | |
parent | 111fdbf1c226b0e842d4bd3a61640cb2be59e9c2 (diff) | |
download | aports-c918595cd90c16f9dfcd61ab5be5efe0d8557df3.tar.bz2 aports-c918595cd90c16f9dfcd61ab5be5efe0d8557df3.tar.xz |
main/nodejs: move from testing
Diffstat (limited to 'main/nodejs')
-rw-r--r-- | main/nodejs/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/nodejs/APKBUILD b/main/nodejs/APKBUILD new file mode 100644 index 0000000000..e6d74cfe4c --- /dev/null +++ b/main/nodejs/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> +# Contributor: William Pitcock <nenolod@dereferenced.org> + +pkgname=nodejs +pkgver=0.10.13 +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="4c8185732680fc70c90a4c39789e4ff0 node-v0.10.13.tar.gz" +sha256sums="a102fad260d216b95611ddd57aeb6531c92ad1038508390654423feb1b51c059 node-v0.10.13.tar.gz" +sha512sums="d632bdb56999b6281f1d77f8e769605e9c90a7de9ef2d285879bac3ac0f66675a789a76a48282c8e0801bab3a4412630b1b2f01c3b8584176095c47aeb8e9a76 node-v0.10.13.tar.gz" |