Compare commits

..

No commits in common. "c1ed7a7118da61532f5f13cdc99e9c52462e201c" and "86d897d580b73a9ee8ecbaa8b8e80f73405091d1" have entirely different histories.

71 changed files with 1 additions and 435 deletions

View File

@ -1,20 +0,0 @@
#!/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

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "bash",
"version": "5.2.0",
"aliases": ["sh"]
}

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
bash "$@"

View File

@ -1 +0,0 @@
echo "OK"

View File

@ -1,11 +0,0 @@
#!/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

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "dart",
"version": "2.19.6",
"aliases": []
}

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
dart run "$@"

View File

@ -1,3 +0,0 @@
void main() {
print('OK');
}

View File

@ -1,5 +0,0 @@
#!/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

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Compile bas files
fbc -lang qb -b "$@" -x out

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Path to fbc compiler
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "freebasic",
"version": "1.9.0",
"aliases": ["bas", "fbc", "basic", "qbasic", "quickbasic"]
}

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# Run output file from compile with arguments
shift
./out "$@"

View File

@ -1 +0,0 @@
PRINT "OK"

View File

@ -1,21 +0,0 @@
#!/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

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Add Julia binary to path
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "julia",
"version": "1.8.5",
"aliases": ["jl"]
}

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Run without startup or history file
julia --startup-file=no --history-file=no "$@"

View File

@ -1 +0,0 @@
println("OK")

View File

@ -1,13 +0,0 @@
#!/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

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
rename 's/$/\.kt/' "$@" # Add .kt extension
# Compile Kotlin code to a jar file
kotlinc *.kt -include-runtime -d code.jar

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Add java and kotlinc to path
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "kotlin",
"version": "1.8.20",
"aliases": ["kt"]
}

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# Run jar file
shift
java -jar code.jar "$@"

View File

@ -1,3 +0,0 @@
fun main() {
println("OK")
}

View File

@ -1,14 +0,0 @@
#!/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

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH="$PWD/lua-5.4.4/src:$PATH"

View File

@ -1,5 +0,0 @@
{
"language": "lua",
"version": "5.4.4",
"aliases": []
}

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
lua "$@"

View File

@ -1 +0,0 @@
print("OK")

View File

@ -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.182.tar.xz" -o mono.tar.xz
curl "https://download.mono-project.com/sources/mono/mono-6.12.0.122.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

View File

@ -1,18 +0,0 @@
#!/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

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# Compile nim file(s)
nim --hints:off --out:out --nimcache:./ c "$@"
chmod +x out

View File

@ -1 +0,0 @@
export PATH=$PWD/nim/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "nim",
"version": "1.6.2",
"aliases": []
}

View File

@ -1,4 +0,0 @@
#!/bin/bash
shift # Filename is only used to compile
./out "$@"

View File

@ -1 +0,0 @@
echo("OK")

View File

@ -1,22 +0,0 @@
#!/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

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Path to octave binary
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "octave",
"version": "8.1.0",
"aliases": ["matlab", "m"]
}

View File

@ -1,4 +0,0 @@
#!/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 "$@"

View File

@ -1 +0,0 @@
disp('OK')

View File

@ -1,25 +0,0 @@
#!/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/

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# Compile pascal files
fpc -oout -v0 "$@"
chmod +x out

View File

@ -1 +0,0 @@
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "pascal",
"version": "3.2.2",
"aliases": ["freepascal", "pp", "pas"]
}

View File

@ -1,4 +0,0 @@
#!/bin/bash
shift # Filename is only used to compile
./out "$@"

View File

@ -1,5 +0,0 @@
program test;
begin
writeln('OK');
end.

View File

@ -1,18 +0,0 @@
#!/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

View File

@ -1 +0,0 @@
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "perl",
"version": "5.36.0",
"aliases": ["pl"]
}

View File

@ -1,3 +0,0 @@
#!/bin/bash
perl "$@"

View File

@ -1 +0,0 @@
print("OK")

View File

@ -1,20 +0,0 @@
#!/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

View File

@ -1 +0,0 @@
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "php",
"version": "8.2.3",
"aliases": []
}

View File

@ -1,3 +0,0 @@
#!/bin/bash
php "$@"

View File

@ -1 +0,0 @@
OK

View File

@ -1,11 +0,0 @@
#!/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

View File

@ -1,14 +0,0 @@
#!/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

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# Scala requires JAVA_HOME to be set
export JAVA_HOME=$PWD
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +0,0 @@
{
"language": "scala",
"version": "3.2.2",
"aliases": ["sc"]
}

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# Run jar file
shift
java -jar out.jar "$@"

View File

@ -1,3 +0,0 @@
@main def run(): Unit = {
println("OK")
}

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
# Cloning vlang source
git clone https://github.com/vlang/v
cd v
# Building and installing vlang
make

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH="$PWD/v:$PATH"

View File

@ -1,5 +0,0 @@
{
"language": "vlang",
"version": "0.3.3",
"aliases": ["v"]
}

View File

@ -1,14 +0,0 @@
#!/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 "$@"

View File

@ -1,3 +0,0 @@
fn main() {
println('OK')
}