diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2012-02-19 02:05:52 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-02-20 12:20:45 -0600 |
commit | 54d597fb3a029d055b67becea57602c362f047fa (patch) | |
tree | a39c410afb612703d21641477bc90df8de4de808 | |
parent | 5ae8028700702605d3878157ba5de7257ce85e78 (diff) | |
download | slackbuilds-54d597fb3a029d055b67becea57602c362f047fa.tar.gz |
network/node: Updated for version 0.6.10.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | network/node/node.SlackBuild | 14 | ||||
-rw-r--r-- | network/node/node.info | 6 |
2 files changed, 16 insertions, 4 deletions
diff --git a/network/node/node.SlackBuild b/network/node/node.SlackBuild index ec78a79aee..505c722cf1 100644 --- a/network/node/node.SlackBuild +++ b/network/node/node.SlackBuild @@ -4,7 +4,7 @@ # Written by Audrius Kažukauskas <audrius@neutrino.lt> PRGNAM=node -VERSION=${VERSION:-0.6.6} +VERSION=${VERSION:-0.6.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -80,6 +80,18 @@ install -D -m 644 $CWD/npm.sh $PKG/etc/bash_completion.d/npm # Remove unneeded files. find $PKG/usr \( -name '.git*' -o -name '.travis.yml' \) -exec rm -f {} \; +# Set NODE_PATH to look for globally installed modules. +mkdir -p $PKG/etc/profile.d +cat > $PKG/etc/profile.d/node.csh << EOF +#!/bin/csh +setenv NODE_PATH /usr/lib${LIBDIRSUFFIX}/node_modules +EOF +cat > $PKG/etc/profile.d/node.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 LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/node/node.info b/network/node/node.info index f5fd07d321..a10dbf8eba 100644 --- a/network/node/node.info +++ b/network/node/node.info @@ -1,8 +1,8 @@ PRGNAM="node" -VERSION="0.6.6" +VERSION="0.6.10" HOMEPAGE="http://nodejs.org/" -DOWNLOAD="http://nodejs.org/dist/v0.6.6/node-v0.6.6.tar.gz" -MD5SUM="43836ebd6e8e9059c4584e3b5ab50009" +DOWNLOAD="http://nodejs.org/dist/v0.6.10/node-v0.6.10.tar.gz" +MD5SUM="8a74fd5d48c2c7c64abc60b2b8f3fbc7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Audrius Kažukauskas" |