wok-current view node/receipt @ rev 20434

Add python-terminado
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 31 19:02:12 2018 +0200 (2018-08-31)
parents 41409ce5bfcf
children 20661c276bcf
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 sed -i 's|uname -m|echo i486|' Makefile
21 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH"
22 export CXX=/usr/bin/i486-slitaz-linux-g++-49
23 export CC=/usr/bin/i486-slitaz-linux-gcc-49
24 ./configure --prefix=/usr &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/node* $fs/usr/lib
34 }