Contents of /smage/trunk/extras/nodejs/nodejs-14.9.0-r1.smage2
Parent Directory | Revision Log
Revision 15428 -
(show annotations)
(download)
Mon Aug 31 11:30:33 2020 UTC (3 years, 9 months ago) by niro
File size: 1057 byte(s)
Mon Aug 31 11:30:33 2020 UTC (3 years, 9 months ago) by niro
File size: 1057 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/icu-67.1 |
14 | >= dev-libs/libuv-1.39 |
15 | >= net-dns/c-ares-1.16 |
16 | >= net-libs/libnghttp2-1.41" |
17 | |
18 | SDEPEND=">= dev-lang/python3-3.7 |
19 | >= sys-libs/zlib-dev-1.2 |
20 | >= dev-libs/icu-dev-67.1 |
21 | >= dev-libs/libuv-dev-1.39 |
22 | >= net-dns/c-ares-dev-1.16 |
23 | >= net-libs/libnghttp2-dev-1.41" |
24 | |
25 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
26 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
27 | |
28 | #ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
29 | sminclude mbuild #alx-split |
30 | |
31 | SRC_URI=( |
32 | https://github.com/${PNAME}/${PNAME}/releases/downloads/v${PVER}/${SRCFILE} |
33 | https://nodejs.org/dist/v${PVER}/${SRCFILE} |
34 | mirror://${PNAME}/${SRCFILE} |
35 | ) |
36 | |
37 | UP2DATE="updatecmd https://nodejs.org/en/download/current | highesttarball gz" |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure \ |
44 | --experimental-http-parser \ |
45 | --without-npm \ |
46 | --with-intl=system-icu \ |
47 | --shared-zlib \ |
48 | --shared-libuv \ |
49 | --shared-cares \ |
50 | --shared-nghttp2 \ |
51 | || die |
52 | |
53 | mmake || die |
54 | } |