wok-next view node/receipt @ rev 20736
netatalk-dev: update depends
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 20:07:48 2018 +0300 (2018-05-29) |
parents | c4e53a39395a |
children | fe6dc47f7d21 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="node"
4 VERSION="9.5.0"
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"
12 TARBALL="$PACKAGE-v$VERSION.tar.xz"
13 WGET_URL="https://nodejs.org/dist/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="python-dev zlib-dev c-ares-dev openssl-dev icu-dev"
16 SPLIT="node-dev"
18 compile_rules() {
19 # site script didn't used, define prefix here
20 ./configure \
21 --prefix=/usr \
22 --shared-cares \
23 --shared-openssl \
24 --shared-zlib \
25 --with-intl=system-icu \
26 &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 node)
34 copy @std
35 DEPENDS="c-ares icu libicu openssl python zlib"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }