aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2012-12-02 12:34:28 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:21:50 -0500
commit77000be0091500c0d3f0af52b45b436516cc75ee (patch)
treea89be759995cb6c013f2570de500387aabccfeab /network
parent2d94a341621bead775bb68befd243e0010ad2a07 (diff)
network/node: Updated for version 0.8.14
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/node/node.SlackBuild36
-rw-r--r--network/node/node.info6
-rw-r--r--network/node/slack-desc10
3 files changed, 35 insertions, 17 deletions
diff --git a/network/node/node.SlackBuild b/network/node/node.SlackBuild
index f8989d2e22ce..b9152b7c6f8a 100644
--- a/network/node/node.SlackBuild
+++ b/network/node/node.SlackBuild
@@ -1,10 +1,29 @@
#!/bin/sh
# Slackware build script for node
-# Written by Audrius Kažukauskas <audrius@neutrino.lt>
+
+# Copyright 2012 Audrius Kažukauskas <audrius@neutrino.lt>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=node
-VERSION=${VERSION:-0.6.17}
+VERSION=${VERSION:-0.8.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,25 +66,24 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Fix man page path.
-sed -i 's|/share||' wscript
+sed -i 's|share/||' tools/install.py
sed -i '/var manRoot/ s/"share",//' deps/npm/lib/{,un}build.js
# Make `npm help' to look for gzipped man pages.
sed -i 's/\." + num/." + num + ".gz"/' deps/npm/lib/help.js
# Fix libdir for 64-bit.
-sed -i "s|/lib/|/lib${LIBDIRSUFFIX}/|" wscript
+sed -i "s|lib/|lib${LIBDIRSUFFIX}/|g" tools/install.py
sed -i "s/'lib'/'lib${LIBDIRSUFFIX}'/" \
lib/module.js tools/wafadmin/Tools/node_addon.py
sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" deps/npm/lib/npm.js tools/node-waf
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX}
+ --openssl-use-sys \
+ --shared-zlib
-make
+make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -75,7 +93,7 @@ find $PKG/usr/man $PKG/usr/lib${LIBDIRSUFFIX}/node_modules/npm/man -type f -exec
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Add bash completion file for npm.
-install -D -m 644 $CWD/npm.sh $PKG/etc/bash_completion.d/npm
+install -D -m 644 $CWD/npm.sh $PKG/usr/share/bash-completion/completions/npm
# Remove unneeded files.
find $PKG/usr \( -name '.git*' -o -name '.travis.yml' \) -exec rm -f {} \;
diff --git a/network/node/node.info b/network/node/node.info
index baf3e44aee04..7919224ce5b5 100644
--- a/network/node/node.info
+++ b/network/node/node.info
@@ -1,8 +1,8 @@
PRGNAM="node"
-VERSION="0.6.17"
+VERSION="0.8.14"
HOMEPAGE="http://nodejs.org/"
-DOWNLOAD="http://nodejs.org/dist/v0.6.17/node-v0.6.17.tar.gz"
-MD5SUM="55641d5d280cdd4e0c030c203107599d"
+DOWNLOAD="http://nodejs.org/dist/v0.8.14/node-v0.8.14.tar.gz"
+MD5SUM="284fd2c7578064c339d9cf6a3a475ac7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/node/slack-desc b/network/node/slack-desc
index 69eb2a2ec079..36b4ce156442 100644
--- a/network/node/slack-desc
+++ b/network/node/slack-desc
@@ -1,9 +1,9 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
node: Node (Evented I/O for V8 JavaScript)