wok-next annotate node/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 4e6503d7a19f
children d5aab818505e
rev   line source
al@20659 1 # SliTaz package receipt v2.
pankso@12020 2
pankso@12020 3 PACKAGE="node"
erkan@20806 4 VERSION="9.11.2"
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/nodejs.html"
al@20884 11 REPOLOGY="nodejs"
pankso@12020 12
al@20659 13 TARBALL="$PACKAGE-v$VERSION.tar.xz"
al@20659 14 WGET_URL="https://nodejs.org/dist/v$VERSION/$TARBALL"
erkan@20806 15 # Integrity check: https://nodejs.org/dist/v9.11.2/
erkan@20806 16 TARBALL_SHA256="06484eac7f6b7c87e96983a039422347c0047284bc4d373d90884ae3966dc213"
pankso@12020 17
al@20659 18 BUILD_DEPENDS="python-dev zlib-dev c-ares-dev openssl-dev icu-dev"
al@20659 19 SPLIT="node-dev"
al@20659 20
al@20659 21 compile_rules() {
al@20659 22 # site script didn't used, define prefix here
al@20659 23 ./configure \
al@20659 24 --prefix=/usr \
al@20659 25 --shared-cares \
al@20659 26 --shared-openssl \
al@20659 27 --shared-zlib \
al@20659 28 --with-intl=system-icu \
al@20659 29 &&
al@20659 30 make &&
al@20659 31 make install
pankso@12020 32 }
pankso@12020 33
al@20659 34 genpkg_rules() {
al@20659 35 case $PACKAGE in
al@20659 36 node)
al@20659 37 copy @std
al@20659 38 DEPENDS="c-ares icu libicu openssl python zlib"
al@20659 39 ;;
al@20659 40 *-dev)
al@20659 41 copy @dev
al@20659 42 ;;
al@20659 43 esac
pankso@12020 44 }