pkg(lisp-2.1.2): Add lisp (SBCL) 2.1.2

This commit is contained in:
Vargas, Dan 2021-03-17 18:10:35 -05:00
parent b6b573f4c4
commit 09c9c13d07
5 changed files with 34 additions and 0 deletions

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")