summaryrefslogtreecommitdiff
path: root/network/node/node.SlackBuild
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2013-07-28 11:22:03 -0500
committerErik Hanson <erik@slackbuilds.org>2013-10-12 14:38:02 -0500
commit9c25ab7047cb225af86bcf1f9f80d66a58df642f (patch)
treee2ad13890f822718d2606f5cf285599da1ddc3bd /network/node/node.SlackBuild
parentddd7a784272dad508e573d5cee70f843c4203969 (diff)
downloadslackbuilds-9c25ab7047cb225af86bcf1f9f80d66a58df642f.tar.gz
network/node: Updated for version 0.10.15.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/node/node.SlackBuild')
-rw-r--r--network/node/node.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/network/node/node.SlackBuild b/network/node/node.SlackBuild
index 4499445af1..534f90635e 100644
--- a/network/node/node.SlackBuild
+++ b/network/node/node.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=node
-VERSION=${VERSION:-0.10.12}
+VERSION=${VERSION:-0.10.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,9 +69,6 @@ chmod -R u+w,go+r-w,a-s .
sed -i 's|share/||' tools/install.py
sed -i '/var manRoot/ s/"share",//' deps/npm/lib/{,un}build.js
-# Make `npm help' to look for gzipped man pages.
-sed -i 's/\." + num/." + num + ".gz"/' deps/npm/lib/help.js
-
# Fix libdir for 64-bit.
sed -i "s|lib/|lib${LIBDIRSUFFIX}/|g" tools/install.py
sed -i "s/'lib'/'lib${LIBDIRSUFFIX}'/" lib/module.js
@@ -88,7 +85,7 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man $PKG/usr/lib${LIBDIRSUFFIX}/node_modules/npm/man -type f -exec gzip -9 {} \;
+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
# Add bash completion file for npm.