wok-6.x view node/receipt @ rev 22917

recompiled libetpan and libetpan-dev
author Hans-G?nter Theisgen
date Mon Feb 24 14:00:31 2020 +0100 (2020-02-24)
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 }