mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/nodejs: Updated for version 4.2.3.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
parent
31c145eadf
commit
e8ef480f14
3 changed files with 17 additions and 6 deletions
|
@ -8,3 +8,7 @@ WARNING: nodejs will conflict with node.
|
|||
|
||||
Either install the node package, or nodejs from SBo, but not both. Both packages
|
||||
include npm.
|
||||
|
||||
nodejs is based off of iojs, you should test your project with nodejs before
|
||||
switching from the node package. Due to significant breaking changes,
|
||||
you may need to update your project to be compatible.
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
PRGNAM=nodejs
|
||||
SRCNAM=node
|
||||
VERSION=${VERSION:-4.2.2}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-4.2.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -58,6 +58,12 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
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
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -84,7 +90,8 @@ sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" deps/npm/lib/npm.js
|
|||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--shared-zlib
|
||||
--shared-zlib \
|
||||
${SHAREDOPENSSL}
|
||||
|
||||
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
|
||||
make install DESTDIR=$PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="nodejs"
|
||||
VERSION="4.2.2"
|
||||
VERSION="4.2.3"
|
||||
HOMEPAGE="https://nodejs.org/"
|
||||
DOWNLOAD="https://github.com/nodejs/node/archive/v4.2.2.tar.gz"
|
||||
MD5SUM="551b1538d0c7149228e57119ac209169"
|
||||
DOWNLOAD="https://github.com/nodejs/node/archive/v4.2.3.tar.gz"
|
||||
MD5SUM="e3958035438e26fc34bf28f59ef70cd2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue