mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
pkg(javascript-node): Added javascript-node 14.16.0 15.10.0 (#130)
This commit is contained in:
parent
a2f3058dff
commit
8047c8e986
3 changed files with 24 additions and 1 deletions
22
packages/javascript-node.mk
Normal file
22
packages/javascript-node.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
NAME=javascript-node
|
||||
AUTHOR=Martin Kos <martinkos007@gmail.com>
|
||||
DEPENDENCIES=
|
||||
COMPILED=false
|
||||
VERSIONS=14.16.0 15.10.0
|
||||
|
||||
include common.mk
|
||||
|
||||
|
||||
${RUN_FILE}:
|
||||
echo 'node $$*' > $@
|
||||
|
||||
${ENV_FILE}:
|
||||
echo 'export PATH=$$PWD/bin:$$PATH' > $@
|
||||
|
||||
${BIN_DIR}: ${BUILD_DIR}node-${VERSION}-sources/
|
||||
mkdir -p $@
|
||||
mv $<bin/node $@
|
||||
chmod +x $@/node
|
||||
|
||||
${BUILD_DIR}node-${VERSION}-sources.tar.xz:
|
||||
curl "https://nodejs.org/dist/v${VERSION}/node-v${VERSION}-linux-x64.tar.xz" -o $@
|
1
packages/javascript-node.test
Normal file
1
packages/javascript-node.test
Normal file
|
@ -0,0 +1 @@
|
|||
console.log("OK")
|
Loading…
Add table
Add a link
Reference in a new issue