wok view node/receipt @ rev 20064

xrdp xorgxrdp: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 23 08:29:51 2017 +0200 (2017-09-23)
parents 15f4b343711a
children 3705d68ed8f3
line source
1 # SliTaz package receipt.
3 PACKAGE="node"
4 VERSION="6.9.2"
5 CATEGORY="network"
6 SHORT_DESC="Node.js is a platform for easily building network applications."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-v$VERSION.tar.gz"
10 WEB_SITE="http://nodejs.org/"
11 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="python libssl gcc49-lib-base"
15 BUILD_DEPENDS="python-dev openssl-dev gcc49"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH"
21 export CXX=/usr/bin/i486-slitaz-linux-g++-49
22 export CC=/usr/bin/i486-slitaz-linux-gcc-49
23 ./configure --prefix=/usr &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/node* $fs/usr/lib
33 }