summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2011-05-16 18:38:28 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-05-17 09:56:19 -0500
commit15682a1ce8a30fa69a725da198ce903ef9c78b94 (patch)
tree5bf1335a4d82ced33fe6bb6feb501aaa5ca8448c
parentab5278ab6dfc1cf324932aa2f0a4df58864375ac (diff)
downloadslackbuilds-15682a1ce8a30fa69a725da198ce903ef9c78b94.tar.gz
network/node: Updated for version 0.4.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--network/node/node.SlackBuild13
-rw-r--r--network/node/node.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/network/node/node.SlackBuild b/network/node/node.SlackBuild
index 83e773a81b..6f97b2b4b5 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.2.6}
+VERSION=${VERSION:-0.4.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,7 +35,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -46,14 +46,15 @@ cd $PRGNAM-v$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-sed -i "s|lib/node|lib$LIBDIRSUFFIX/node|" wscript
sed -i "s|share/man|man|" wscript
-sed -i "s|\"lib\"|\"lib$LIBDIRSUFFIX\"|" bin/node-waf
+sed -i "s|\"lib\"|\"lib$LIBDIRSUFFIX\"|" tools/node-waf
+sed -i "s|/lib|/lib$LIBDIRSUFFIX|" tools/nodejs.pc.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX}
make
make install DESTDIR=$PKG
@@ -65,7 +66,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog README LICENSE $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
mkdir -p $PKG/install
diff --git a/network/node/node.info b/network/node/node.info
index 9801df0d9f..ed67dffe36 100644
--- a/network/node/node.info
+++ b/network/node/node.info
@@ -1,8 +1,8 @@
PRGNAM="node"
-VERSION="0.2.6"
+VERSION="0.4.7"
HOMEPAGE="http://nodejs.org/"
-DOWNLOAD="http://nodejs.org/dist/node-v0.2.6.tar.gz"
-MD5SUM="b1c50ceb43bee1b221be210b7bc7a216"
+DOWNLOAD="http://nodejs.org/dist/node-v0.4.7.tar.gz"
+MD5SUM="7b955c8d5897ab3f3d5c21b7a04abdec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Audrius Kažukauskas"