summaryrefslogtreecommitdiff
path: root/network/iojs
diff options
context:
space:
mode:
Diffstat (limited to 'network/iojs')
-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=""