Compare commits

...

12 Commits

Author SHA1 Message Date
Thomas d79b58add1
Merge pull request #162 from dvargas46/v3-add-paradoc
pkg(paradoc-0.6.0): Add paradoc 0.6.0
2021-03-18 16:26:16 +13:00
Thomas 3d8e45ecc4
Merge pull request #163 from dvargas46/v3-add-osabie
pkg(osabie-1.0.1): Fix osabie args
2021-03-18 16:25:48 +13:00
Dan Vargas 50c4e0fae5 pkg(paradoc-0.6.0): Add paradoc 0.6.0 2021-03-17 22:11:34 -05:00
Dan Vargas b8aa60c4ab pkg(osabie-1.0.1): Fix osabie args 2021-03-17 22:04:43 -05:00
Thomas 5217e2af5d
Merge pull request #161 from dvargas46/v3-add-nim
pkg(nim-1.4.4): Add nim 1.4.4
2021-03-18 15:33:18 +13:00
Dan Vargas 599b1f793d pkg(nim-1.4.4): Add nim 1.4.4 2021-03-17 20:49:21 -05:00
Thomas bcbdda6f66
Merge pull request #158 from dvargas46/v3-add-haskell
pkg(haskell-9.0.1): Add haskell 9.0.1
2021-03-18 13:10:58 +13:00
Thomas 88925c0b2e
Merge pull request #159 from vfrazao-ns1/v3-fix-rust-run-file
pkg(rust-1.50.0): Fix run file to remove filename from being passed to binary
2021-03-18 13:10:02 +13:00
Thomas ac660c0a45
Merge pull request #160 from dvargas46/v3-add-lisp
pkg(lisp-2.1.2): Add lisp (SBCL) 2.1.2
2021-03-18 13:09:40 +13:00
Vargas, Dan 09c9c13d07 pkg(lisp-2.1.2): Add lisp (SBCL) 2.1.2 2021-03-17 18:10:35 -05:00
Victor Frazao 992a5f52fc pkg(rust-1.50.0): Fix run file to remove filename from being passed to binary 2021-03-17 18:26:59 -04:00
Vargas, Dan fdf236a789 pkg(haskell-9.0.1): Add haskell 9.0.1 2021-03-17 12:35:16 -05:00
24 changed files with 126 additions and 2 deletions

19
packages/haskell/9.0.1/build.sh vendored Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
# Platform specific because a true source compile would require GHC to be installed already on the latest
curl -L "https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-deb10-linux.tar.xz" -o ghc.tar.xz
tar xf ghc.tar.xz --strip-components=1
rm ghc.tar.xz
./configure --prefix="$PREFIX"
make install -j$(nproc)
cd ../
rm -rf build

5
packages/haskell/9.0.1/compile vendored Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Compile haskell file(s)
ghc -dynamic -v0 -o out "$@"
chmod +x out

1
packages/haskell/9.0.1/environment vendored Normal file
View File

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

6
packages/haskell/9.0.1/metadata.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"language": "haskell",
"version": "9.0.1",
"author": "Dan Vargas <danvargas46@gmail.com>",
"aliases": ["haskell", "hs"]
}

4
packages/haskell/9.0.1/run vendored Normal file
View File

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

1
packages/haskell/9.0.1/test.hs vendored Normal file
View File

@ -0,0 +1 @@
main = putStrLn "OK"

19
packages/lisp/2.1.2/build.sh vendored Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env bash
# Put instructions to build your package in here
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
# Prebuilt binary install since source compile requires lisp to be installed already
curl -L "http://prdownloads.sourceforge.net/sbcl/sbcl-2.1.2-x86-64-linux-binary.tar.bz2" -o sbcl.tar.bz2
tar xf sbcl.tar.bz2 --strip-components=1
rm sbcl.tar.bz2
INSTALL_ROOT=$PREFIX sh install.sh
cd ../
rm -rf build

4
packages/lisp/2.1.2/environment vendored Normal file
View File

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

6
packages/lisp/2.1.2/metadata.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"language": "lisp",
"version": "2.1.2",
"aliases": ["lisp","cl","sbcl","commonlisp"],
"author": "Dan Vargas <danvargas46@gmail.com>"
}

4
packages/lisp/2.1.2/run vendored Normal file
View File

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

1
packages/lisp/2.1.2/test.cl vendored Normal file
View File

@ -0,0 +1 @@
(write-line "OK")

18
packages/nim/1.4.4/build.sh vendored Executable file
View File

@ -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.4.4-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

5
packages/nim/1.4.4/compile vendored Normal file
View File

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

1
packages/nim/1.4.4/environment vendored Normal file
View File

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

6
packages/nim/1.4.4/metadata.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"language": "nim",
"version": "1.4.4",
"author": "Dan Vargas <danvargas46@gmail.com>",
"aliases": ["nim"]
}

4
packages/nim/1.4.4/run vendored Normal file
View File

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

1
packages/nim/1.4.4/test.nim vendored Normal file
View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
# Put instructions to run the runtime
osabie "$@"
# osabie only takes filename and stdin
osabie "$1"

5
packages/paradoc/0.6.0/build.sh vendored Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
source ../../python/3.9.1/build.sh
git clone -q https://github.com/betaveros/paradoc.git paradoc

2
packages/paradoc/0.6.0/environment vendored Normal file
View File

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

6
packages/paradoc/0.6.0/metadata.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"language": "paradoc",
"version": "0.6.0",
"author": "Dan Vargas <danvargas46@gmail.com>",
"aliases": ["paradoc"]
}

4
packages/paradoc/0.6.0/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# Paradoc only takes filename and stdin
python3 -m paradoc "$1"

1
packages/paradoc/0.6.0/test.paradoc vendored Normal file
View File

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

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
shift
./binary "$@"