wok-next view node/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children e19ff076dc63
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 BUILD_DEPENDS="python-dev zlib-dev c-ares-dev openssl-dev icu-dev"
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 # site script didn't used, define prefix here
23 ./configure \
24 --prefix=/usr \
25 --shared-cares \
26 --shared-openssl \
27 --shared-zlib \
28 --with-intl=system-icu \
29 &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 node)
37 copy @std
38 DEPENDS="c-ares icu libicu openssl python zlib"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }