wok-6.x view node/receipt @ rev 21649
Up ffmpegthumbnailer-dev (2.2.0), lucene++-dev (3.0.7+git), xine-fonts (1.2.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 30 10:51:27 2019 +0200 (2019-05-30) |
parents | 20661c276bcf |
children | 65a24133b39d |
line source
1 # SliTaz package receipt.
3 PACKAGE="node"
4 VERSION="10.15.3"
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 WEB_SITE="https://nodejs.org/"
11 TARBALL="$PACKAGE-v$VERSION.tar.gz"
12 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL"
14 DEPENDS="python libssl"
15 BUILD_DEPENDS="gcc83 python-dev openssl-dev"
17 #HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|uname -m|echo i486|' Makefile
23 export LD_LIBRARY_PATH="/usr/libgcc83:$LD_LIBRARY_PATH"
24 export CC=gcc-83
25 export CXX=g++-83
27 ./configure --prefix=/usr &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/node* $fs/usr/lib
39 }