Contents of /smage/trunk/extras/nodejs/nodejs-14.9.0-r1.smage2
Parent Directory | Revision Log
Revision 15432 -
(show annotations)
(download)
Mon Aug 31 11:44:32 2020 UTC (3 years, 8 months ago) by niro
File size: 1112 byte(s)
Mon Aug 31 11:44:32 2020 UTC (3 years, 8 months ago) by niro
File size: 1112 byte(s)
auto added: ver bump to 14.9.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="nodejs" |
4 | PVER="14.9.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-libs" |
8 | |
9 | DESCRIPTION="Chrome V8 JavaScript engine." |
10 | HOMEPAGE="https://nodejs.org/" |
11 | |
12 | DEPEND=">= sys-libs/zlib-1.2 |
13 | >= dev-libs/openssl-1.1 |
14 | >= dev-libs/icu-67.1 |
15 | >= dev-libs/libuv-1.39 |
16 | >= net-dns/c-ares-1.16 |
17 | >= net-libs/libnghttp2-1.41" |
18 | |
19 | SDEPEND=">= dev-lang/python3-3.7 |
20 | >= sys-libs/zlib-dev-1.2 |
21 | >= dev-libs/openssl-dev-1.1 |
22 | >= dev-libs/icu-dev-67.1 |
23 | >= dev-libs/libuv-dev-1.39 |
24 | >= net-dns/c-ares-dev-1.16 |
25 | >= net-libs/libnghttp2-dev-1.41" |
26 | |
27 | SRCFILE="node-v${PVER}.tar.gz" |
28 | SRCDIR="${BUILDDIR}/node-v${PVER}" |
29 | |
30 | ALX_PKG_KEEP="usr/bin/node usr/$(mlibdir)/*.so.*" |
31 | sminclude mbuild alx-split |
32 | |
33 | SRC_URI=( |
34 | https://nodejs.org/dist/v${PVER}/${SRCFILE} |
35 | mirror://${PNAME}/${SRCFILE} |
36 | ) |
37 | |
38 | UP2DATE="updatecmd https://nodejs.org/en/download/current | highesttarball gz" |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | # non standard configure script |
45 | ./configure \ |
46 | --prefix=/usr \ |
47 | --experimental-http-parser \ |
48 | --without-npm \ |
49 | --with-intl=system-icu \ |
50 | --shared-zlib \ |
51 | --shared-openssl \ |
52 | --shared-libuv \ |
53 | --shared-cares \ |
54 | --shared-nghttp2 \ |
55 | || die |
56 | |
57 | mmake || die |
58 | } |