wok diff node/receipt @ rev 21747
tazboot: spare 2k
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 14 17:17:16 2019 +0200 (2019-06-14) |
parents | 20661c276bcf |
children | 65a24133b39d |
line diff
1.1 --- a/node/receipt Sun Jan 27 17:42:10 2019 +0100 1.2 +++ b/node/receipt Fri Jun 14 17:17:16 2019 +0200 1.3 @@ -1,34 +1,39 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="node" 1.7 -VERSION="6.9.2" 1.8 +VERSION="10.15.3" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Node.js is a platform for easily building network applications." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="MIT" 1.13 +WEB_SITE="https://nodejs.org/" 1.14 + 1.15 TARBALL="$PACKAGE-v$VERSION.tar.gz" 1.16 -WEB_SITE="https://nodejs.org/" 1.17 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL" 1.18 + 1.19 +DEPENDS="python libssl" 1.20 +BUILD_DEPENDS="gcc83 python-dev openssl-dev" 1.21 + 1.22 #HOST_ARCH="i486 arm" 1.23 1.24 -DEPENDS="python libssl gcc49-lib-base" 1.25 -BUILD_DEPENDS="python-dev openssl-dev gcc49" 1.26 - 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 sed -i 's|uname -m|echo i486|' Makefile 1.31 - export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" 1.32 - export CXX=/usr/bin/i486-slitaz-linux-g++-49 1.33 - export CC=/usr/bin/i486-slitaz-linux-gcc-49 1.34 + export LD_LIBRARY_PATH="/usr/libgcc83:$LD_LIBRARY_PATH" 1.35 + export CC=gcc-83 1.36 + export CXX=g++-83 1.37 + 1.38 ./configure --prefix=/usr && 1.39 - make && make install 1.40 + make && 1.41 + make install 1.42 } 1.43 1.44 # Rules to gen a SliTaz package suitable for Tazpkg. 1.45 genpkg_rules() 1.46 { 1.47 mkdir -p $fs/usr/lib 1.48 - cp -a $install/usr/bin $fs/usr 1.49 - cp -a $install/usr/lib/node* $fs/usr/lib 1.50 + 1.51 + cp -a $install/usr/bin $fs/usr 1.52 + cp -a $install/usr/lib/node* $fs/usr/lib 1.53 }