2022-08-31 21:57:35 +03:00
|
|
|
distributable:
|
|
|
|
url: https://nodejs.org/dist/v{{ version }}/node-v{{ version }}.tar.xz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: nodejs/node/tags
|
|
|
|
|
2022-10-30 17:32:32 +03:00
|
|
|
companions:
|
|
|
|
npmjs.com: '*'
|
|
|
|
|
2022-08-31 21:57:35 +03:00
|
|
|
dependencies:
|
|
|
|
unicode.org: '>=71'
|
|
|
|
openssl.org: 1.1
|
|
|
|
zlib.net: 1
|
|
|
|
|
2022-10-20 19:36:12 +03:00
|
|
|
provides:
|
|
|
|
- bin/node
|
|
|
|
|
2022-08-31 21:57:35 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
2022-10-30 21:27:27 +03:00
|
|
|
python.org: '>=3.7 <3.11'
|
2022-09-12 22:47:41 +03:00
|
|
|
freedesktop.org/pkg-config: ^0.29
|
2022-08-31 21:57:35 +03:00
|
|
|
script: |
|
|
|
|
./configure $ARGS
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
# we provide npm (well not yet, but we will)
|
|
|
|
- --without-npm
|
|
|
|
- --prefix={{ prefix }}
|
|
|
|
# like, maybe we should include this?
|
|
|
|
- --without-corepack
|
|
|
|
- --with-intl=system-icu
|
|
|
|
- --shared-openssl
|
|
|
|
- --shared-zlib
|
|
|
|
|
|
|
|
test:
|
|
|
|
script: |
|
|
|
|
out=$(node $FIXTURE)
|
|
|
|
test "$out" = "Hello, world!"
|
|
|
|
fixture:
|
|
|
|
console.log("Hello, world!");
|