wok view node/receipt @ rev 21362

updated links and links-dfb (2.14 -> 2.19)
author Hans-G?nter Theisgen
date Sun Apr 21 16:14:35 2019 +0100 (2019-04-21)
parents 3705d68ed8f3
children 140cbdeb8974
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="https://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 }