From 15682a1ce8a30fa69a725da198ce903ef9c78b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Mon, 16 May 2011 18:38:28 -0300 Subject: network/node: Updated for version 0.4.7. Signed-off-by: Niels Horn --- network/node/node.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'network/node/node.SlackBuild') 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 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 -- cgit v1.2.3