wok annotate node/receipt @ rev 24306
modified recipe for ctypes.sh
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 17 16:11:08 2022 +0100 (2022-01-17) |
parents | 140cbdeb8974 |
children | 241fb98cab1c |
rev | line source |
---|---|
pankso@12020 | 1 # SliTaz package receipt. |
pankso@12020 | 2 |
pankso@12020 | 3 PACKAGE="node" |
Hans-G?nter@21547 | 4 VERSION="10.15.3" |
pankso@12020 | 5 CATEGORY="network" |
pankso@12020 | 6 SHORT_DESC="Node.js is a platform for easily building network applications." |
pankso@12020 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15503 | 8 LICENSE="MIT" |
Hans-G?nter@21547 | 9 WEB_SITE="https://nodejs.org/" |
Hans-G?nter@21547 | 10 |
pankso@12020 | 11 TARBALL="$PACKAGE-v$VERSION.tar.gz" |
pankso@12020 | 12 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL" |
Hans-G?nter@21547 | 13 |
Hans-G?nter@23226 | 14 DEPENDS="gcc83-lib-base libssl python" |
Hans-G?nter@23226 | 15 BUILD_DEPENDS="gcc83 openssl-dev python-dev" |
Hans-G?nter@21547 | 16 |
pankso@16509 | 17 #HOST_ARCH="i486 arm" |
pankso@12020 | 18 |
pankso@12020 | 19 # Rules to configure and make the package. |
pankso@12020 | 20 compile_rules() |
pankso@12020 | 21 { |
pascal@20212 | 22 sed -i 's|uname -m|echo i486|' Makefile |
Hans-G?nter@21547 | 23 export LD_LIBRARY_PATH="/usr/libgcc83:$LD_LIBRARY_PATH" |
Hans-G?nter@23226 | 24 export LDFLAGS="$LDFLAGS -latomic" |
Hans-G?nter@21547 | 25 export CC=gcc-83 |
Hans-G?nter@21547 | 26 export CXX=g++-83 |
Hans-G?nter@21547 | 27 |
pankso@12020 | 28 ./configure --prefix=/usr && |
Hans-G?nter@21547 | 29 make && |
Hans-G?nter@21547 | 30 make install |
pankso@12020 | 31 } |
pankso@12020 | 32 |
pankso@12020 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12020 | 34 genpkg_rules() |
pankso@12020 | 35 { |
pankso@12020 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@21547 | 37 |
Hans-G?nter@21547 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21547 | 39 cp -a $install/usr/lib/node* $fs/usr/lib |
pankso@12020 | 40 } |