From 91d4d402de94b05fc30fe3262a2a19eebe8cda7b Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Fri, 7 Apr 2023 19:40:10 +0200 Subject: [PATCH 01/14] Updated to `PHP 8.2.3` --- packages/php/8.2.3/build.sh | 20 ++++++++++++++++++++ packages/php/8.2.3/environment | 1 + packages/php/8.2.3/metadata.json | 5 +++++ packages/php/8.2.3/run | 3 +++ packages/php/8.2.3/test.php | 1 + 5 files changed, 30 insertions(+) create mode 100644 packages/php/8.2.3/build.sh create mode 100644 packages/php/8.2.3/environment create mode 100644 packages/php/8.2.3/metadata.json create mode 100644 packages/php/8.2.3/run create mode 100644 packages/php/8.2.3/test.php diff --git a/packages/php/8.2.3/build.sh b/packages/php/8.2.3/build.sh new file mode 100644 index 0000000..ee85017 --- /dev/null +++ b/packages/php/8.2.3/build.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build/php +cd build + +curl "https://www.php.net/distributions/php-8.2.3.tar.gz" -o php.tar.gz +tar xzf php.tar.gz --strip-components=1 -C php + +cd php + + +./configure --prefix "$PREFIX" + +make -j$(nproc) +make install -j$(nproc) + +cd ../../ +rm -rf build \ No newline at end of file diff --git a/packages/php/8.2.3/environment b/packages/php/8.2.3/environment new file mode 100644 index 0000000..bd0ff98 --- /dev/null +++ b/packages/php/8.2.3/environment @@ -0,0 +1 @@ +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/php/8.2.3/metadata.json b/packages/php/8.2.3/metadata.json new file mode 100644 index 0000000..5f256e0 --- /dev/null +++ b/packages/php/8.2.3/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "php", + "version": "8.2.3", + "aliases": [] +} \ No newline at end of file diff --git a/packages/php/8.2.3/run b/packages/php/8.2.3/run new file mode 100644 index 0000000..1261d95 --- /dev/null +++ b/packages/php/8.2.3/run @@ -0,0 +1,3 @@ +#!/bin/bash + +php "$@" \ No newline at end of file diff --git a/packages/php/8.2.3/test.php b/packages/php/8.2.3/test.php new file mode 100644 index 0000000..a0aba93 --- /dev/null +++ b/packages/php/8.2.3/test.php @@ -0,0 +1 @@ +OK \ No newline at end of file From 2ae73c5daea80f15b3a7ba8a9156c3a55eb751c0 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 09:03:57 +0200 Subject: [PATCH 02/14] Updated `Mono 6.12.0 build.sh` --- packages/mono/6.12.0/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mono/6.12.0/build.sh b/packages/mono/6.12.0/build.sh index 7bb4b63..d74fca6 100755 --- a/packages/mono/6.12.0/build.sh +++ b/packages/mono/6.12.0/build.sh @@ -5,7 +5,7 @@ PREFIX=$(realpath $(dirname $0)) mkdir -p build/mono build/mono-basic cd build -curl "https://download.mono-project.com/sources/mono/mono-6.12.0.122.tar.xz" -o mono.tar.xz +curl "https://download.mono-project.com/sources/mono/mono-6.12.0.182.tar.xz" -o mono.tar.xz curl -L "https://github.com/mono/mono-basic/archive/refs/tags/4.7.tar.gz" -o mono-basic.tar.gz tar xf mono.tar.xz --strip-components=1 -C mono tar xf mono-basic.tar.gz --strip-components=1 -C mono-basic From 314a96a8d4d2e816362649f761747abce30d0c7f Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 09:52:41 +0200 Subject: [PATCH 03/14] Updated to `Bash 5.2.0` --- packages/bash/5.2.0/build.sh | 20 ++++++++++++++++++++ packages/bash/5.2.0/environment | 4 ++++ packages/bash/5.2.0/metadata.json | 5 +++++ packages/bash/5.2.0/run | 4 ++++ packages/bash/5.2.0/test.bash.sh | 1 + 5 files changed, 34 insertions(+) create mode 100644 packages/bash/5.2.0/build.sh create mode 100644 packages/bash/5.2.0/environment create mode 100644 packages/bash/5.2.0/metadata.json create mode 100644 packages/bash/5.2.0/run create mode 100644 packages/bash/5.2.0/test.bash.sh diff --git a/packages/bash/5.2.0/build.sh b/packages/bash/5.2.0/build.sh new file mode 100644 index 0000000..bddce57 --- /dev/null +++ b/packages/bash/5.2.0/build.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# Put instructions to build your package in here +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build + +cd build + +curl "https://ftp.gnu.org/gnu/bash/bash-5.2.tar.gz" -o bash.tar.gz + +tar xzf bash.tar.gz --strip-components=1 + +# === autoconf based === +./configure --prefix "$PREFIX" + +make -j$(nproc) +make install -j$(nproc) +cd ../ +rm -rf build \ No newline at end of file diff --git a/packages/bash/5.2.0/environment b/packages/bash/5.2.0/environment new file mode 100644 index 0000000..c6ab089 --- /dev/null +++ b/packages/bash/5.2.0/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/bash/5.2.0/metadata.json b/packages/bash/5.2.0/metadata.json new file mode 100644 index 0000000..5082f8c --- /dev/null +++ b/packages/bash/5.2.0/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "bash", + "version": "5.2.0", + "aliases": ["sh"] +} \ No newline at end of file diff --git a/packages/bash/5.2.0/run b/packages/bash/5.2.0/run new file mode 100644 index 0000000..d20b2ba --- /dev/null +++ b/packages/bash/5.2.0/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime +bash "$@" \ No newline at end of file diff --git a/packages/bash/5.2.0/test.bash.sh b/packages/bash/5.2.0/test.bash.sh new file mode 100644 index 0000000..727518f --- /dev/null +++ b/packages/bash/5.2.0/test.bash.sh @@ -0,0 +1 @@ +echo "OK" \ No newline at end of file From 6524db168fa3da1a7a0c9d3e91b9297d2ca578c8 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 10:05:11 +0200 Subject: [PATCH 04/14] Updated to `Julia 1.8.5` --- packages/julia/1.8.5/build.sh | 21 +++++++++++++++++++++ packages/julia/1.8.5/environment | 4 ++++ packages/julia/1.8.5/metadata.json | 5 +++++ packages/julia/1.8.5/run | 4 ++++ packages/julia/1.8.5/test.jl | 1 + 5 files changed, 35 insertions(+) create mode 100644 packages/julia/1.8.5/build.sh create mode 100644 packages/julia/1.8.5/environment create mode 100644 packages/julia/1.8.5/metadata.json create mode 100644 packages/julia/1.8.5/run create mode 100644 packages/julia/1.8.5/test.jl diff --git a/packages/julia/1.8.5/build.sh b/packages/julia/1.8.5/build.sh new file mode 100644 index 0000000..752d902 --- /dev/null +++ b/packages/julia/1.8.5/build.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +# Install location +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build +cd build + +# Download and extract Julia source +curl -L "https://github.com/JuliaLang/julia/releases/download/v1.8.5/julia-1.8.5.tar.gz" -o julia.tar.gz +tar xzf julia.tar.gz --strip-components=1 + +# Build +echo "JULIA_CPU_TARGET=generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1) +prefix=$PREFIX" > Make.user +make -j$(nproc) +make install -j$(nproc) + +# Cleanup +cd .. +rm -rf build \ No newline at end of file diff --git a/packages/julia/1.8.5/environment b/packages/julia/1.8.5/environment new file mode 100644 index 0000000..7eadd1a --- /dev/null +++ b/packages/julia/1.8.5/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Add Julia binary to path +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/julia/1.8.5/metadata.json b/packages/julia/1.8.5/metadata.json new file mode 100644 index 0000000..5c6fd40 --- /dev/null +++ b/packages/julia/1.8.5/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "julia", + "version": "1.8.5", + "aliases": ["jl"] +} \ No newline at end of file diff --git a/packages/julia/1.8.5/run b/packages/julia/1.8.5/run new file mode 100644 index 0000000..a803c0a --- /dev/null +++ b/packages/julia/1.8.5/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Run without startup or history file +julia --startup-file=no --history-file=no "$@" \ No newline at end of file diff --git a/packages/julia/1.8.5/test.jl b/packages/julia/1.8.5/test.jl new file mode 100644 index 0000000..450f23e --- /dev/null +++ b/packages/julia/1.8.5/test.jl @@ -0,0 +1 @@ +println("OK") \ No newline at end of file From b65c5f84dfe6be7a69aee455d1259b0fa64299a6 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 11:58:48 +0200 Subject: [PATCH 05/14] Updated to `Lua 5.4.4` --- packages/lua/5.4.4/build.sh | 14 ++++++++++++++ packages/lua/5.4.4/environment | 4 ++++ packages/lua/5.4.4/metadata.json | 5 +++++ packages/lua/5.4.4/run | 4 ++++ packages/lua/5.4.4/test.lua | 1 + 5 files changed, 28 insertions(+) create mode 100644 packages/lua/5.4.4/build.sh create mode 100644 packages/lua/5.4.4/environment create mode 100644 packages/lua/5.4.4/metadata.json create mode 100644 packages/lua/5.4.4/run create mode 100644 packages/lua/5.4.4/test.lua diff --git a/packages/lua/5.4.4/build.sh b/packages/lua/5.4.4/build.sh new file mode 100644 index 0000000..979fefe --- /dev/null +++ b/packages/lua/5.4.4/build.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# Put instructions to build your package in here +curl -R -O -L http://www.lua.org/ftp/lua-5.4.4.tar.gz +tar zxf lua-5.4.4.tar.gz +rm lua-5.4.4.tar.gz + +cd lua-5.4.4 +# Building Lua +make linux +# To check that Lua has been built correctly +make test +# Installing Lua +make linux install \ No newline at end of file diff --git a/packages/lua/5.4.4/environment b/packages/lua/5.4.4/environment new file mode 100644 index 0000000..db702d4 --- /dev/null +++ b/packages/lua/5.4.4/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH="$PWD/lua-5.4.4/src:$PATH" \ No newline at end of file diff --git a/packages/lua/5.4.4/metadata.json b/packages/lua/5.4.4/metadata.json new file mode 100644 index 0000000..a2a51b7 --- /dev/null +++ b/packages/lua/5.4.4/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "lua", + "version": "5.4.4", + "aliases": [] +} \ No newline at end of file diff --git a/packages/lua/5.4.4/run b/packages/lua/5.4.4/run new file mode 100644 index 0000000..d826943 --- /dev/null +++ b/packages/lua/5.4.4/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime +lua "$@" \ No newline at end of file diff --git a/packages/lua/5.4.4/test.lua b/packages/lua/5.4.4/test.lua new file mode 100644 index 0000000..3f2688f --- /dev/null +++ b/packages/lua/5.4.4/test.lua @@ -0,0 +1 @@ +print("OK") \ No newline at end of file From df553c80eaf10a1b352e440f0bc46495624c527c Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 13:12:10 +0200 Subject: [PATCH 06/14] Updated to `Nim 1.6.2` --- packages/nim/1.6.2/build.sh | 18 ++++++++++++++++++ packages/nim/1.6.2/compile | 5 +++++ packages/nim/1.6.2/environment | 1 + packages/nim/1.6.2/metadata.json | 5 +++++ packages/nim/1.6.2/run | 4 ++++ packages/nim/1.6.2/test.nim | 1 + 6 files changed, 34 insertions(+) create mode 100644 packages/nim/1.6.2/build.sh create mode 100644 packages/nim/1.6.2/compile create mode 100644 packages/nim/1.6.2/environment create mode 100644 packages/nim/1.6.2/metadata.json create mode 100644 packages/nim/1.6.2/run create mode 100644 packages/nim/1.6.2/test.nim diff --git a/packages/nim/1.6.2/build.sh b/packages/nim/1.6.2/build.sh new file mode 100644 index 0000000..20a9b65 --- /dev/null +++ b/packages/nim/1.6.2/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build + +cd build + +# Prebuilt binary - source *can* be built, but it requires gcc +curl -L "https://nim-lang.org/download/nim-1.6.2-linux_x64.tar.xz" -o nim.tar.xz +tar xf nim.tar.xz --strip-components=1 +rm nim.tar.xz + +./install.sh "$PREFIX" + +cd ../ + +rm -rf build \ No newline at end of file diff --git a/packages/nim/1.6.2/compile b/packages/nim/1.6.2/compile new file mode 100644 index 0000000..1162cb3 --- /dev/null +++ b/packages/nim/1.6.2/compile @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# Compile nim file(s) +nim --hints:off --out:out --nimcache:./ c "$@" +chmod +x out \ No newline at end of file diff --git a/packages/nim/1.6.2/environment b/packages/nim/1.6.2/environment new file mode 100644 index 0000000..872a1f3 --- /dev/null +++ b/packages/nim/1.6.2/environment @@ -0,0 +1 @@ +export PATH=$PWD/nim/bin:$PATH \ No newline at end of file diff --git a/packages/nim/1.6.2/metadata.json b/packages/nim/1.6.2/metadata.json new file mode 100644 index 0000000..facb421 --- /dev/null +++ b/packages/nim/1.6.2/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "nim", + "version": "1.6.2", + "aliases": [] +} \ No newline at end of file diff --git a/packages/nim/1.6.2/run b/packages/nim/1.6.2/run new file mode 100644 index 0000000..eb7e9c3 --- /dev/null +++ b/packages/nim/1.6.2/run @@ -0,0 +1,4 @@ +#!/bin/bash + +shift # Filename is only used to compile +./out "$@" \ No newline at end of file diff --git a/packages/nim/1.6.2/test.nim b/packages/nim/1.6.2/test.nim new file mode 100644 index 0000000..6c57628 --- /dev/null +++ b/packages/nim/1.6.2/test.nim @@ -0,0 +1 @@ +echo("OK") \ No newline at end of file From 7ae50eaef79ef9c9c6d8adaee50cc16c018577bb Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 13:31:16 +0200 Subject: [PATCH 07/14] Updated to `Octave 8.1.0` --- packages/octave/8.1.0/build.sh | 22 ++++++++++++++++++++++ packages/octave/8.1.0/environment | 4 ++++ packages/octave/8.1.0/metadata.json | 5 +++++ packages/octave/8.1.0/run | 4 ++++ packages/octave/8.1.0/test.octave | 1 + 5 files changed, 36 insertions(+) create mode 100644 packages/octave/8.1.0/build.sh create mode 100644 packages/octave/8.1.0/environment create mode 100644 packages/octave/8.1.0/metadata.json create mode 100644 packages/octave/8.1.0/run create mode 100644 packages/octave/8.1.0/test.octave diff --git a/packages/octave/8.1.0/build.sh b/packages/octave/8.1.0/build.sh new file mode 100644 index 0000000..f835f2e --- /dev/null +++ b/packages/octave/8.1.0/build.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +# Build octave from source +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build + +cd build + +curl -L "https://ftpmirror.gnu.org/octave/octave-8.1.0.tar.gz" -o octave.tar.gz + +tar xzf octave.tar.gz --strip-components=1 + +# === autoconf based === +# Disable support for GUI, HDF5 and Java +./configure --prefix "$PREFIX" --without-opengl --without-qt --without-x --without-hdf5 --disable-java + +make -j$(nproc) +make install -j$(nproc) + +cd ../ +rm -rf build \ No newline at end of file diff --git a/packages/octave/8.1.0/environment b/packages/octave/8.1.0/environment new file mode 100644 index 0000000..6eb8659 --- /dev/null +++ b/packages/octave/8.1.0/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Path to octave binary +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/octave/8.1.0/metadata.json b/packages/octave/8.1.0/metadata.json new file mode 100644 index 0000000..9e0023d --- /dev/null +++ b/packages/octave/8.1.0/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "octave", + "version": "8.1.0", + "aliases": ["matlab", "m"] +} \ No newline at end of file diff --git a/packages/octave/8.1.0/run b/packages/octave/8.1.0/run new file mode 100644 index 0000000..42cf092 --- /dev/null +++ b/packages/octave/8.1.0/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Run octave scripts without gui, history, init scripts and initial message +octave --no-gui --no-window-system --no-history --no-init-file --no-site-file --norc --quiet "$@" \ No newline at end of file diff --git a/packages/octave/8.1.0/test.octave b/packages/octave/8.1.0/test.octave new file mode 100644 index 0000000..a94310b --- /dev/null +++ b/packages/octave/8.1.0/test.octave @@ -0,0 +1 @@ +disp('OK') \ No newline at end of file From 28314f16ab2885185717fa3bcce8b5a87a46dac0 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 13:52:48 +0200 Subject: [PATCH 08/14] Updated to `Dart 2.19.6` --- packages/dart/2.19.6/build.sh | 11 +++++++++++ packages/dart/2.19.6/environment | 4 ++++ packages/dart/2.19.6/metadata.json | 5 +++++ packages/dart/2.19.6/run | 4 ++++ packages/dart/2.19.6/test.dart | 3 +++ 5 files changed, 27 insertions(+) create mode 100644 packages/dart/2.19.6/build.sh create mode 100644 packages/dart/2.19.6/environment create mode 100644 packages/dart/2.19.6/metadata.json create mode 100644 packages/dart/2.19.6/run create mode 100644 packages/dart/2.19.6/test.dart diff --git a/packages/dart/2.19.6/build.sh b/packages/dart/2.19.6/build.sh new file mode 100644 index 0000000..ec04ab1 --- /dev/null +++ b/packages/dart/2.19.6/build.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +curl -L "https://storage.googleapis.com/dart-archive/channels/stable/release/2.19.6/sdk/dartsdk-linux-x64-release.zip" -o dart.zip + +unzip dart.zip +rm dart.zip + +cp -r dart-sdk/* . +rm -rf dart-sdk + +chmod -R +rx bin \ No newline at end of file diff --git a/packages/dart/2.19.6/environment b/packages/dart/2.19.6/environment new file mode 100644 index 0000000..c6ab089 --- /dev/null +++ b/packages/dart/2.19.6/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/dart/2.19.6/metadata.json b/packages/dart/2.19.6/metadata.json new file mode 100644 index 0000000..ab0c1a2 --- /dev/null +++ b/packages/dart/2.19.6/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "dart", + "version": "2.19.6", + "aliases": [] +} \ No newline at end of file diff --git a/packages/dart/2.19.6/run b/packages/dart/2.19.6/run new file mode 100644 index 0000000..062d7c6 --- /dev/null +++ b/packages/dart/2.19.6/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime +dart run "$@" \ No newline at end of file diff --git a/packages/dart/2.19.6/test.dart b/packages/dart/2.19.6/test.dart new file mode 100644 index 0000000..27e87b2 --- /dev/null +++ b/packages/dart/2.19.6/test.dart @@ -0,0 +1,3 @@ +void main() { + print('OK'); +} \ No newline at end of file From 0c253a667d5fe09d9c66909b2b6030c67b89c274 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 17:35:00 +0200 Subject: [PATCH 09/14] Updated to `Kotlin 1.8.20` --- packages/kotlin/1.8.20/build.sh | 13 +++++++++++++ packages/kotlin/1.8.20/compile | 6 ++++++ packages/kotlin/1.8.20/environment | 4 ++++ packages/kotlin/1.8.20/metadata.json | 5 +++++ packages/kotlin/1.8.20/run | 5 +++++ packages/kotlin/1.8.20/test.kt | 3 +++ 6 files changed, 36 insertions(+) create mode 100644 packages/kotlin/1.8.20/build.sh create mode 100644 packages/kotlin/1.8.20/compile create mode 100644 packages/kotlin/1.8.20/environment create mode 100644 packages/kotlin/1.8.20/metadata.json create mode 100644 packages/kotlin/1.8.20/run create mode 100644 packages/kotlin/1.8.20/test.kt diff --git a/packages/kotlin/1.8.20/build.sh b/packages/kotlin/1.8.20/build.sh new file mode 100644 index 0000000..2574b8d --- /dev/null +++ b/packages/kotlin/1.8.20/build.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# Download and extract JDK8 +curl -L "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u292b10.tar.gz" -o jdk.tar.gz +tar xzf jdk.tar.gz --strip-components=1 +rm jdk.tar.gz + +# Download and extract Kotlin +curl -L "https://github.com/JetBrains/kotlin/releases/download/v1.8.20/kotlin-compiler-1.8.20.zip" -o kotlin.zip +unzip kotlin.zip +rm kotlin.zip +cp -r kotlinc/* . +rm -rf kotlinc \ No newline at end of file diff --git a/packages/kotlin/1.8.20/compile b/packages/kotlin/1.8.20/compile new file mode 100644 index 0000000..7ef1cff --- /dev/null +++ b/packages/kotlin/1.8.20/compile @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +rename 's/$/\.kt/' "$@" # Add .kt extension + +# Compile Kotlin code to a jar file +kotlinc *.kt -include-runtime -d code.jar \ No newline at end of file diff --git a/packages/kotlin/1.8.20/environment b/packages/kotlin/1.8.20/environment new file mode 100644 index 0000000..9f25b86 --- /dev/null +++ b/packages/kotlin/1.8.20/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Add java and kotlinc to path +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/kotlin/1.8.20/metadata.json b/packages/kotlin/1.8.20/metadata.json new file mode 100644 index 0000000..7a4321e --- /dev/null +++ b/packages/kotlin/1.8.20/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "kotlin", + "version": "1.8.20", + "aliases": ["kt"] +} \ No newline at end of file diff --git a/packages/kotlin/1.8.20/run b/packages/kotlin/1.8.20/run new file mode 100644 index 0000000..a719220 --- /dev/null +++ b/packages/kotlin/1.8.20/run @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# Run jar file +shift +java -jar code.jar "$@" \ No newline at end of file diff --git a/packages/kotlin/1.8.20/test.kt b/packages/kotlin/1.8.20/test.kt new file mode 100644 index 0000000..31acf7b --- /dev/null +++ b/packages/kotlin/1.8.20/test.kt @@ -0,0 +1,3 @@ +fun main() { + println("OK") +} \ No newline at end of file From 334e7820ffcebbd2e8582771e141494d4a16c900 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 18:21:15 +0200 Subject: [PATCH 10/14] Updated to `Scala 3.2.2` --- packages/scala/3.2.2/build.sh | 11 +++++++++++ packages/scala/3.2.2/compile | 14 ++++++++++++++ packages/scala/3.2.2/environment | 5 +++++ packages/scala/3.2.2/metadata.json | 5 +++++ packages/scala/3.2.2/run | 5 +++++ packages/scala/3.2.2/test.scala | 3 +++ 6 files changed, 43 insertions(+) create mode 100644 packages/scala/3.2.2/build.sh create mode 100644 packages/scala/3.2.2/compile create mode 100644 packages/scala/3.2.2/environment create mode 100644 packages/scala/3.2.2/metadata.json create mode 100644 packages/scala/3.2.2/run create mode 100644 packages/scala/3.2.2/test.scala diff --git a/packages/scala/3.2.2/build.sh b/packages/scala/3.2.2/build.sh new file mode 100644 index 0000000..2feef19 --- /dev/null +++ b/packages/scala/3.2.2/build.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# Download and extract JDK8 +curl -L "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u292b10.tar.gz" -o jdk.tar.gz +tar xzf jdk.tar.gz --strip-components=1 +rm jdk.tar.gz + +# Download and extract Scala 3 +curl -L "https://github.com/lampepfl/dotty/releases/download/3.2.2/scala3-3.2.2.tar.gz" -o scala.tar.gz +tar -xzf scala.tar.gz --strip-components=1 +rm scala.tar.gz \ No newline at end of file diff --git a/packages/scala/3.2.2/compile b/packages/scala/3.2.2/compile new file mode 100644 index 0000000..4d9cf66 --- /dev/null +++ b/packages/scala/3.2.2/compile @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# Compile scala classes into a jar file +scalac "$@" -d out.jar + +# Create the Manifest and include scala lib jars: +# NOTE: - entry point will only consider @main and App traits from the main file +# - scala lib jars will be added to the class path in order to run the jar properly +echo "Main-Class: $(grep -oP '\@main\s+def\s+\K[a-zA-Z][a-zA-Z0-9]*|object\s+\K[a-zA-Z][a-zA-Z0-9]*(?=\s+extends\s+App)' $1) +Class-Path: $(echo $JAVA_HOME/lib/*.jar | sed 's/\s/\n /g') +" > manifest.txt + +# Update the jar with the manifest +jar ufm out.jar manifest.txt \ No newline at end of file diff --git a/packages/scala/3.2.2/environment b/packages/scala/3.2.2/environment new file mode 100644 index 0000000..588262f --- /dev/null +++ b/packages/scala/3.2.2/environment @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# Scala requires JAVA_HOME to be set +export JAVA_HOME=$PWD +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/scala/3.2.2/metadata.json b/packages/scala/3.2.2/metadata.json new file mode 100644 index 0000000..545c824 --- /dev/null +++ b/packages/scala/3.2.2/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "scala", + "version": "3.2.2", + "aliases": ["sc"] +} \ No newline at end of file diff --git a/packages/scala/3.2.2/run b/packages/scala/3.2.2/run new file mode 100644 index 0000000..accfd16 --- /dev/null +++ b/packages/scala/3.2.2/run @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# Run jar file +shift +java -jar out.jar "$@" \ No newline at end of file diff --git a/packages/scala/3.2.2/test.scala b/packages/scala/3.2.2/test.scala new file mode 100644 index 0000000..bf4cabc --- /dev/null +++ b/packages/scala/3.2.2/test.scala @@ -0,0 +1,3 @@ +@main def run(): Unit = { + println("OK") +} \ No newline at end of file From 6a48428970011dcd1bb345cda4ab916c00a0bdaf Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 19:32:44 +0200 Subject: [PATCH 11/14] Updated to `Freebasic 1.9.0` --- packages/freebasic/1.9.0/build.sh | 5 +++++ packages/freebasic/1.9.0/compile | 4 ++++ packages/freebasic/1.9.0/environment | 4 ++++ packages/freebasic/1.9.0/metadata.json | 5 +++++ packages/freebasic/1.9.0/run | 5 +++++ packages/freebasic/1.9.0/test.bas | 1 + 6 files changed, 24 insertions(+) create mode 100644 packages/freebasic/1.9.0/build.sh create mode 100644 packages/freebasic/1.9.0/compile create mode 100644 packages/freebasic/1.9.0/environment create mode 100644 packages/freebasic/1.9.0/metadata.json create mode 100644 packages/freebasic/1.9.0/run create mode 100644 packages/freebasic/1.9.0/test.bas diff --git a/packages/freebasic/1.9.0/build.sh b/packages/freebasic/1.9.0/build.sh new file mode 100644 index 0000000..7f33fff --- /dev/null +++ b/packages/freebasic/1.9.0/build.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +curl -L "https://sourceforge.net/projects/fbc/files/FreeBASIC-1.09.0/Binaries-Linux/FreeBASIC-1.09.0-linux-x86_64.tar.gz/download" -o freebasic.tar.gz +tar xf freebasic.tar.gz --strip-components=1 +rm freebasic.tar.gz \ No newline at end of file diff --git a/packages/freebasic/1.9.0/compile b/packages/freebasic/1.9.0/compile new file mode 100644 index 0000000..20842d6 --- /dev/null +++ b/packages/freebasic/1.9.0/compile @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Compile bas files +fbc -lang qb -b "$@" -x out \ No newline at end of file diff --git a/packages/freebasic/1.9.0/environment b/packages/freebasic/1.9.0/environment new file mode 100644 index 0000000..8064d82 --- /dev/null +++ b/packages/freebasic/1.9.0/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Path to fbc compiler +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/freebasic/1.9.0/metadata.json b/packages/freebasic/1.9.0/metadata.json new file mode 100644 index 0000000..d0c3eb9 --- /dev/null +++ b/packages/freebasic/1.9.0/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "freebasic", + "version": "1.9.0", + "aliases": ["bas", "fbc", "basic", "qbasic", "quickbasic"] +} \ No newline at end of file diff --git a/packages/freebasic/1.9.0/run b/packages/freebasic/1.9.0/run new file mode 100644 index 0000000..6f7b53d --- /dev/null +++ b/packages/freebasic/1.9.0/run @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# Run output file from compile with arguments +shift +./out "$@" \ No newline at end of file diff --git a/packages/freebasic/1.9.0/test.bas b/packages/freebasic/1.9.0/test.bas new file mode 100644 index 0000000..b13a0ef --- /dev/null +++ b/packages/freebasic/1.9.0/test.bas @@ -0,0 +1 @@ +PRINT "OK" \ No newline at end of file From 8a778f70331dc2b770d480f2ebf0496cd4379399 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 22:07:40 +0200 Subject: [PATCH 12/14] Updated to `Pascal 3.2.2` --- packages/pascal/3.2.2/build.sh | 25 +++++++++++++++++++++++++ packages/pascal/3.2.2/compile | 5 +++++ packages/pascal/3.2.2/environment | 1 + packages/pascal/3.2.2/metadata.json | 5 +++++ packages/pascal/3.2.2/run | 4 ++++ packages/pascal/3.2.2/test.pp | 5 +++++ 6 files changed, 45 insertions(+) create mode 100644 packages/pascal/3.2.2/build.sh create mode 100644 packages/pascal/3.2.2/compile create mode 100644 packages/pascal/3.2.2/environment create mode 100644 packages/pascal/3.2.2/metadata.json create mode 100644 packages/pascal/3.2.2/run create mode 100644 packages/pascal/3.2.2/test.pp diff --git a/packages/pascal/3.2.2/build.sh b/packages/pascal/3.2.2/build.sh new file mode 100644 index 0000000..aa4ad60 --- /dev/null +++ b/packages/pascal/3.2.2/build.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build + +cd build +curl -L "https://sourceforge.net/projects/freepascal/files/Linux/3.2.2/fpc-3.2.2.x86_64-linux.tar/download" -o pascal.tar +tar xf pascal.tar --strip-components=1 + +# FreePascal uses an interactive installer +./install.sh << ANSWERS +$PREFIX +n +n +n +ANSWERS + +cd .. +rm -rf build + +# A sample config (needed for each "project") is written to /etc +# We'll copy that into the local lib dir (fpc searches there too on compile) +mkdir lib/fpc/etc +cp -r /etc/fp* lib/fpc/etc/ \ No newline at end of file diff --git a/packages/pascal/3.2.2/compile b/packages/pascal/3.2.2/compile new file mode 100644 index 0000000..20b1280 --- /dev/null +++ b/packages/pascal/3.2.2/compile @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# Compile pascal files +fpc -oout -v0 "$@" +chmod +x out \ No newline at end of file diff --git a/packages/pascal/3.2.2/environment b/packages/pascal/3.2.2/environment new file mode 100644 index 0000000..bd0ff98 --- /dev/null +++ b/packages/pascal/3.2.2/environment @@ -0,0 +1 @@ +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/pascal/3.2.2/metadata.json b/packages/pascal/3.2.2/metadata.json new file mode 100644 index 0000000..cd85425 --- /dev/null +++ b/packages/pascal/3.2.2/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "pascal", + "version": "3.2.2", + "aliases": ["freepascal", "pp", "pas"] +} \ No newline at end of file diff --git a/packages/pascal/3.2.2/run b/packages/pascal/3.2.2/run new file mode 100644 index 0000000..eb7e9c3 --- /dev/null +++ b/packages/pascal/3.2.2/run @@ -0,0 +1,4 @@ +#!/bin/bash + +shift # Filename is only used to compile +./out "$@" \ No newline at end of file diff --git a/packages/pascal/3.2.2/test.pp b/packages/pascal/3.2.2/test.pp new file mode 100644 index 0000000..3c5165d --- /dev/null +++ b/packages/pascal/3.2.2/test.pp @@ -0,0 +1,5 @@ +program test; + + begin + writeln('OK'); + end. \ No newline at end of file From 1da99d47f18c4a57eee5db1048eb383ceeab74a4 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 22:29:44 +0200 Subject: [PATCH 13/14] Updated to `Perl 5.36.0` --- packages/perl/5.36.0/build.sh | 18 ++++++++++++++++++ packages/perl/5.36.0/environment | 1 + packages/perl/5.36.0/metadata.json | 5 +++++ packages/perl/5.36.0/run | 3 +++ packages/perl/5.36.0/test.pl | 1 + 5 files changed, 28 insertions(+) create mode 100644 packages/perl/5.36.0/build.sh create mode 100644 packages/perl/5.36.0/environment create mode 100644 packages/perl/5.36.0/metadata.json create mode 100644 packages/perl/5.36.0/run create mode 100644 packages/perl/5.36.0/test.pl diff --git a/packages/perl/5.36.0/build.sh b/packages/perl/5.36.0/build.sh new file mode 100644 index 0000000..a5aeacb --- /dev/null +++ b/packages/perl/5.36.0/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build + +cd build + +curl "https://www.cpan.org/src/5.0/perl-5.36.0.tar.gz" -o perl.tar.gz +tar xzf perl.tar.gz --strip-components=1 +./Configure -des -Dprefix="$PREFIX" + +make -j$(nproc) +make install -j$(nproc) + +cd .. + +rm -rf build \ No newline at end of file diff --git a/packages/perl/5.36.0/environment b/packages/perl/5.36.0/environment new file mode 100644 index 0000000..bd0ff98 --- /dev/null +++ b/packages/perl/5.36.0/environment @@ -0,0 +1 @@ +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/perl/5.36.0/metadata.json b/packages/perl/5.36.0/metadata.json new file mode 100644 index 0000000..3e30158 --- /dev/null +++ b/packages/perl/5.36.0/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "perl", + "version": "5.36.0", + "aliases": ["pl"] +} \ No newline at end of file diff --git a/packages/perl/5.36.0/run b/packages/perl/5.36.0/run new file mode 100644 index 0000000..3b8d77c --- /dev/null +++ b/packages/perl/5.36.0/run @@ -0,0 +1,3 @@ +#!/bin/bash + +perl "$@" \ No newline at end of file diff --git a/packages/perl/5.36.0/test.pl b/packages/perl/5.36.0/test.pl new file mode 100644 index 0000000..3f2688f --- /dev/null +++ b/packages/perl/5.36.0/test.pl @@ -0,0 +1 @@ +print("OK") \ No newline at end of file From 4c45648a7962b46347ca88f3e763096e5f618ab8 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sun, 9 Apr 2023 12:24:30 +0200 Subject: [PATCH 14/14] Updated to `Vlang 0.3.3` --- packages/vlang/0.3.3/build.sh | 8 ++++++++ packages/vlang/0.3.3/environment | 4 ++++ packages/vlang/0.3.3/metadata.json | 5 +++++ packages/vlang/0.3.3/run | 14 ++++++++++++++ packages/vlang/0.3.3/test.v | 3 +++ 5 files changed, 34 insertions(+) create mode 100644 packages/vlang/0.3.3/build.sh create mode 100644 packages/vlang/0.3.3/environment create mode 100644 packages/vlang/0.3.3/metadata.json create mode 100644 packages/vlang/0.3.3/run create mode 100644 packages/vlang/0.3.3/test.v diff --git a/packages/vlang/0.3.3/build.sh b/packages/vlang/0.3.3/build.sh new file mode 100644 index 0000000..127bac9 --- /dev/null +++ b/packages/vlang/0.3.3/build.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# Cloning vlang source +git clone https://github.com/vlang/v +cd v + +# Building and installing vlang +make \ No newline at end of file diff --git a/packages/vlang/0.3.3/environment b/packages/vlang/0.3.3/environment new file mode 100644 index 0000000..638b0c2 --- /dev/null +++ b/packages/vlang/0.3.3/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH="$PWD/v:$PATH" \ No newline at end of file diff --git a/packages/vlang/0.3.3/metadata.json b/packages/vlang/0.3.3/metadata.json new file mode 100644 index 0000000..4cdd7fd --- /dev/null +++ b/packages/vlang/0.3.3/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "vlang", + "version": "0.3.3", + "aliases": ["v"] +} \ No newline at end of file diff --git a/packages/vlang/0.3.3/run b/packages/vlang/0.3.3/run new file mode 100644 index 0000000..f608902 --- /dev/null +++ b/packages/vlang/0.3.3/run @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# Export environment variables +export VMODULES="$PWD" +export TMPDIR="$PWD" + +# Put instructions to run the runtime + +filename=$1 + +rename 's/$/\.v/' $filename # Add .v extension + +shift +v run $filename.v "$@" \ No newline at end of file diff --git a/packages/vlang/0.3.3/test.v b/packages/vlang/0.3.3/test.v new file mode 100644 index 0000000..fb5de5e --- /dev/null +++ b/packages/vlang/0.3.3/test.v @@ -0,0 +1,3 @@ +fn main() { + println('OK') +} \ No newline at end of file