wok-next annotate node/receipt @ rev 20659

Up libical (3.0.1), libidn2 (2.0.4), libunistring (0.9.8), logrotate (3.11.0), mc (4.8.20), mercurial (4.5), nasm (2.13.03), newt (0.52.20), node (9.5.0), opencv (3.4.1), slitaz-tools-boxes (1028), slitaz-tools (1028), spacefm (1.0.6), tiff (4.0.9); add npapi-sdk, obex-data-server.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 09 16:46:19 2018 +0300 (2018-05-09)
parents c4e53a39395a
children fe6dc47f7d21
rev   line source
al@20659 1 # SliTaz package receipt v2.
pankso@12020 2
pankso@12020 3 PACKAGE="node"
al@20659 4 VERSION="9.5.0"
pankso@12020 5 CATEGORY="network"
al@20659 6 SHORT_DESC="Node.js - JavaScript runtime built on Chrome's V8 JavaScript engine"
pankso@12020 7 MAINTAINER="pankso@slitaz.org"
pascal@15503 8 LICENSE="MIT"
al@20659 9 WEB_SITE="https://nodejs.org/"
al@20659 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/nodejs.html"
pankso@12020 11
al@20659 12 TARBALL="$PACKAGE-v$VERSION.tar.xz"
al@20659 13 WGET_URL="https://nodejs.org/dist/v$VERSION/$TARBALL"
pankso@12020 14
al@20659 15 BUILD_DEPENDS="python-dev zlib-dev c-ares-dev openssl-dev icu-dev"
al@20659 16 SPLIT="node-dev"
al@20659 17
al@20659 18 compile_rules() {
al@20659 19 # site script didn't used, define prefix here
al@20659 20 ./configure \
al@20659 21 --prefix=/usr \
al@20659 22 --shared-cares \
al@20659 23 --shared-openssl \
al@20659 24 --shared-zlib \
al@20659 25 --with-intl=system-icu \
al@20659 26 &&
al@20659 27 make &&
al@20659 28 make install
pankso@12020 29 }
pankso@12020 30
al@20659 31 genpkg_rules() {
al@20659 32 case $PACKAGE in
al@20659 33 node)
al@20659 34 copy @std
al@20659 35 DEPENDS="c-ares icu libicu openssl python zlib"
al@20659 36 ;;
al@20659 37 *-dev)
al@20659 38 copy @dev
al@20659 39 ;;
al@20659 40 esac
pankso@12020 41 }