diff options
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 |