diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-11-13 09:28:47 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-14 07:07:17 +0700 |
commit | baf881f373e61372cbff4a5da47007a42671a1b5 (patch) | |
tree | c80017bc09832a5ce0eb73e883830ed8e9fedbdf /network/iojs | |
parent | 979c1e81ab02ab766e896d8daebd8c39a6417432 (diff) |
network/iojs: Updated for version 3.3.1.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'network/iojs')
-rw-r--r-- | network/iojs/iojs.SlackBuild | 18 | ||||
-rw-r--r-- | network/iojs/iojs.info | 6 |
2 files changed, 12 insertions, 12 deletions
diff --git a/network/iojs/iojs.SlackBuild b/network/iojs/iojs.SlackBuild index 2a6c02cd1a62d..d29d2afd6ddad 100644 --- a/network/iojs/iojs.SlackBuild +++ b/network/iojs/iojs.SlackBuild @@ -1,7 +1,6 @@ #!/bin/sh # Slackware build script for iojs - # Thanks to Audrius Kažukauskas # Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com @@ -25,11 +24,12 @@ # not, see <https://www.gnu.org/licenses/>. PRGNAM=iojs -SRCNAM=node -VERSION=${VERSION:-4.2.2} +VERSION=${VERSION:-3.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +DOCS="AUTHORS CHANGELOG.md COLLABORATOR_GUIDE.md CONTRIBUTING.md GOVERNANCE.md LICENSE README.md ROADMAP.md WORKING_GROUPS.md" + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -62,9 +62,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf $PRGNAM-v$VERSION +tar xvf $CWD/$PRGNAM-v$VERSION.tar.xz +cd $PRGNAM-v$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -102,18 +102,18 @@ find $PKG/usr \( -name '.git*' \) -exec rm -f {} \; # Set NODE_PATH to look for globally installed modules. mkdir -p $PKG/etc/profile.d -cat > $PKG/etc/profile.d/iojs.csh << EOF +cat > $PKG/etc/profile.d/${PRGNAM}.csh << EOF #!/bin/csh setenv NODE_PATH /usr/lib${LIBDIRSUFFIX}/node_modules EOF -cat > $PKG/etc/profile.d/iojs.sh << EOF +cat > $PKG/etc/profile.d/${PRGNAM}.sh << EOF #!/bin/sh export NODE_PATH=/usr/lib${LIBDIRSUFFIX}/node_modules EOF chmod 0755 $PKG/etc/profile.d/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGELOG.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/iojs/iojs.info b/network/iojs/iojs.info index 1d1c4e7602369..6503f3a6ffcaf 100644 --- a/network/iojs/iojs.info +++ b/network/iojs/iojs.info @@ -1,8 +1,8 @@ PRGNAM="iojs" -VERSION="4.2.2" +VERSION="3.3.1" HOMEPAGE="https://iojs.org/" -DOWNLOAD="https://github.com/nodejs/node/archive/v4.2.2.tar.gz" -MD5SUM="551b1538d0c7149228e57119ac209169" +DOWNLOAD="https://iojs.org/dist/v3.3.1/iojs-v3.3.1.tar.xz" +MD5SUM="58b581e57a57822b9639d781c41ea697" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |