wok rev 21547

updated node (6.9.2 -> 10.15.3)
author Hans-G?nter Theisgen
date Mon May 06 15:40:08 2019 +0100 (2019-05-06)
parents 7841119a230d
children fdb9ab1b060b
files node/receipt
line diff
     1.1 --- a/node/receipt	Mon May 06 14:26:00 2019 +0100
     1.2 +++ b/node/receipt	Mon May 06 15:40:08 2019 +0100
     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  }