wok-next view node/receipt @ rev 20955
Update Perl packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 03 10:09:42 2018 +0300 (2018-09-03) |
parents | fe6dc47f7d21 |
children | f48456621a9d |
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="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://nodejs.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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="node-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 }