nodejs: update to 0.12.0.

This commit is contained in:
Juan RP 2015-02-08 09:30:04 +01:00
parent 826e9f5522
commit a49c05b041
1 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'nodejs'
pkgname=nodejs
version=0.10.36
version=0.12.0
revision=1
wrksrc=node-v${version}
hostmakedepends="pkg-config python"
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
checksum=b9d7d1d0294bce46686b13a05da6fc5b1e7743b597544aa888e8e64a9f178c81
checksum=9700e23af4e9b3643af48cef5f2ad20a1331ff531a12154eef2bfb0bb1682e32
do_configure() {
local _args
@ -25,7 +25,6 @@ do_configure() {
fi
./configure --prefix=/usr --openssl-use-sys --shared-zlib ${_args}
}
do_build() {
if [ "$CROSS_BUILD" ]; then
make LD="$CXX" ${makejobs} PORTABLE=1 V=1
@ -33,8 +32,7 @@ do_build() {
make LD="$CXX" ${makejobs} V=1
fi
}
do_install() {
make LD="$CXX" DESTDIR="$DESTDIR" install
vinstall LICENSE 644 usr/share/licenses/${pkgname}
vlicense LICENSE
}