summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-09-25 16:56:06 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-26 10:05:30 +0700
commit9f89fe88371fedb1bc342228d904b0a1268a4a6e (patch)
tree37c6e7681748447f40822cf184422fee819a12df /network
parent4f956ebc3be48fc7300ca16fadd8eb6b3b2c7ebe (diff)
downloadslackbuilds-9f89fe88371fedb1bc342228d904b0a1268a4a6e.tar.gz
network/iojs: Updated for version 4.1.1.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'network')
-rw-r--r--network/iojs/iojs.SlackBuild9
-rw-r--r--network/iojs/iojs.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/network/iojs/iojs.SlackBuild b/network/iojs/iojs.SlackBuild
index 59087dc9a7..f2e1b1b1e3 100644
--- a/network/iojs/iojs.SlackBuild
+++ b/network/iojs/iojs.SlackBuild
@@ -25,7 +25,8 @@
# not, see <http://www.gnu.org/licenses/>.
PRGNAM=iojs
-VERSION=${VERSION:-2.5.0}
+SRCNAM=node
+VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,9 +62,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-v$VERSION
-tar xvf $CWD/$PRGNAM-v$VERSION.tar.xz
-cd $PRGNAM-v$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/network/iojs/iojs.info b/network/iojs/iojs.info
index bd4a4199b7..4cd3226849 100644
--- a/network/iojs/iojs.info
+++ b/network/iojs/iojs.info
@@ -1,8 +1,8 @@
PRGNAM="iojs"
-VERSION="2.5.0"
+VERSION="4.1.1"
HOMEPAGE="https://iojs.org/"
-DOWNLOAD="https://iojs.org/dist/v2.5.0/iojs-v2.5.0.tar.xz"
-MD5SUM="130be814d3f0a6fe1db5dd56b8c1ad22"
+DOWNLOAD="https://github.com/nodejs/node/archive/v4.1.1.tar.gz"
+MD5SUM="07aecb94fca31b3dc2f4732395de1253"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""