Magellan Linux

Annotation of /smage/trunk/extras/nodejs/nodejs-14.9.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15429 - (hide annotations) (download)
Mon Aug 31 11:32:07 2020 UTC (3 years, 8 months ago) by niro
File size: 980 byte(s)
auto added: ver bump to 14.9.0-r1
1 niro 15428 # $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://nodejs.org/dist/v${PVER}/${SRCFILE}
33     mirror://${PNAME}/${SRCFILE}
34     )
35    
36     UP2DATE="updatecmd https://nodejs.org/en/download/current | highesttarball gz"
37    
38     src_compile()
39     {
40     cd ${SRCDIR}
41    
42     mconfigure \
43     --experimental-http-parser \
44     --without-npm \
45     --with-intl=system-icu \
46     --shared-zlib \
47     --shared-libuv \
48     --shared-cares \
49     --shared-nghttp2 \
50     || die
51    
52     mmake || die
53     }