diff options
Diffstat (limited to 'network/node/node.SlackBuild')
-rw-r--r-- | network/node/node.SlackBuild | 7 |
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. |