diff options
Diffstat (limited to 'network/node')
-rw-r--r-- | network/node/node.SlackBuild | 13 | ||||
-rw-r--r-- | network/node/node.info | 6 |
2 files changed, 10 insertions, 9 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 diff --git a/network/node/node.info b/network/node/node.info index 9801df0d9f5f6..ed67dffe3666c 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" |