wok-next view node/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="node"
4 VERSION="9.11.2"
5 CATEGORY="network"
6 SHORT_DESC="Node.js - JavaScript runtime built on Chrome's V8 JavaScript engine"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://nodejs.org/en/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/nodejs.html"
11 REPOLOGY="nodejs"
13 TARBALL="$PACKAGE-v$VERSION.tar.xz"
14 WGET_URL="https://nodejs.org/dist/v$VERSION/$TARBALL"
15 # Integrity check: https://nodejs.org/dist/v9.11.2/
16 TARBALL_SHA256="06484eac7f6b7c87e96983a039422347c0047284bc4d373d90884ae3966dc213"
18 COOKOPTS="force-arch" # different config.gypi
20 BUILD_DEPENDS="python-dev zlib-dev c-ares-dev openssl-dev icu-dev"
21 SPLIT="$PACKAGE-dev"
23 compile_rules() {
24 # site script didn't used, define prefix here
25 ./configure \
26 --prefix=/usr \
27 --shared-cares \
28 --shared-openssl \
29 --shared-zlib \
30 --with-intl=system-icu \
31 &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 node)
39 copy @std
40 DEPENDS="c-ares icu libicu openssl python zlib"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }