development/nodejs: Updated for version 4.2.6.

Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
Ryan P.C. McQuen 2016-01-26 09:39:14 -08:00 committed by Willy Sudiarto Raharjo
parent c4c0d70bc1
commit c8dd934d93
2 changed files with 5 additions and 11 deletions

View File

@ -25,7 +25,7 @@
PRGNAM=nodejs PRGNAM=nodejs
SRCNAM=node SRCNAM=node
VERSION=${VERSION:-4.2.4} VERSION=${VERSION:-4.2.6}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -58,12 +58,6 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
SHAREDOPENSSL=""
## use system openssl if the version number is high enough
if [ "`openssl version | grep '1.0.2'`" ]; then
SHAREDOPENSSL="--shared-openssl"
fi
set -eu set -eu
rm -rf $PKG rm -rf $PKG
@ -91,7 +85,7 @@ sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" deps/npm/lib/npm.js
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--shared-zlib \ --shared-zlib \
${SHAREDOPENSSL} --shared-openssl
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG make install DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="nodejs" PRGNAM="nodejs"
VERSION="4.2.4" VERSION="4.2.6"
HOMEPAGE="https://nodejs.org/" HOMEPAGE="https://nodejs.org/"
DOWNLOAD="https://github.com/nodejs/node/archive/v4.2.4.tar.gz" DOWNLOAD="https://github.com/nodejs/node/archive/v4.2.6.tar.gz"
MD5SUM="f1f8b6d523dcf678a8e457e338dab8ff" MD5SUM="19e4e29a5f5825e20b88dd98ac60b286"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""