mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+node (#105)
This commit is contained in:
parent
66fcc022d5
commit
a48aad9a27
1 changed files with 39 additions and 0 deletions
39
projects/nodejs.org/package.yml
Normal file
39
projects/nodejs.org/package.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
distributable:
|
||||
url: https://nodejs.org/dist/v{{ version }}/node-v{{ version }}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: nodejs/node/tags
|
||||
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
unicode.org: '>=71'
|
||||
openssl.org: 1.1
|
||||
zlib.net: 1
|
||||
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
python.org: ^3.10
|
||||
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!");
|
Loading…
Reference in a new issue