diff --git a/packages/lisp/2.1.2/build.sh b/packages/lisp/2.1.2/build.sh new file mode 100755 index 0000000..37f1f8a --- /dev/null +++ b/packages/lisp/2.1.2/build.sh @@ -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 diff --git a/packages/lisp/2.1.2/environment b/packages/lisp/2.1.2/environment new file mode 100644 index 0000000..780b668 --- /dev/null +++ b/packages/lisp/2.1.2/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH=$PWD/bin:$PATH diff --git a/packages/lisp/2.1.2/metadata.json b/packages/lisp/2.1.2/metadata.json new file mode 100644 index 0000000..fd35513 --- /dev/null +++ b/packages/lisp/2.1.2/metadata.json @@ -0,0 +1,6 @@ +{ + "language": "lisp", + "version": "2.1.2", + "aliases": ["lisp","cl","sbcl","commonlisp"], + "author": "Dan Vargas " +} diff --git a/packages/lisp/2.1.2/run b/packages/lisp/2.1.2/run new file mode 100644 index 0000000..74a5cf3 --- /dev/null +++ b/packages/lisp/2.1.2/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime +sbcl --script "$@" diff --git a/packages/lisp/2.1.2/test.cl b/packages/lisp/2.1.2/test.cl new file mode 100644 index 0000000..1de92b7 --- /dev/null +++ b/packages/lisp/2.1.2/test.cl @@ -0,0 +1 @@ +(write-line "OK") \ No newline at end of file