diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2011-05-16 18:38:28 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-17 09:56:19 -0500 |
commit | 15682a1ce8a30fa69a725da198ce903ef9c78b94 (patch) | |
tree | 5bf1335a4d82ced33fe6bb6feb501aaa5ca8448c /network/node/node.SlackBuild | |
parent | ab5278ab6dfc1cf324932aa2f0a4df58864375ac (diff) |
network/node: Updated for version 0.4.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/node/node.SlackBuild')
-rw-r--r-- | network/node/node.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/network/node/node.SlackBuild b/network/node/node.SlackBuild index 83e773a81bc3f..6f97b2b4b5d44 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 |