From 3489d6e172aba41ac5e58e4e796da71e0c695917 Mon Sep 17 00:00:00 2001 From: Niclas Hofmann Date: Thu, 2 Nov 2023 17:05:16 +0100 Subject: [PATCH] sbcl: Add 2.3.10 >Steel Bank Common Lisp (SBCL) is a high performance Common Lisp >compiler. It is open source / free software, with a permissive >license. In addition to the compiler and runtime system for ANSI >Common Lisp, it provides an interactive environment including a >debugger, a statistical profiler, a code coverage tool, and many other >extensions. -- https://www.sbcl.org/index.html `make.sh` calls the `clean.sh` script which deletes i.e. all `sbcl` binaries inside the directory and its subdirectories. To bootstrap sbcl the binary has to be in another directory. For simplicity ${S} was choosen. In future versions this isn't gonna be necessary. --- sbcl.be0 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 sbcl.be0 diff --git a/sbcl.be0 b/sbcl.be0 new file mode 100755 index 000000000..a485e4589 --- /dev/null +++ b/sbcl.be0 @@ -0,0 +1,44 @@ +#!/usr/bin/env beesh + +# BEE_VERSION sbcl-2.3.10-0 + +# more info: https://www.sbcl.org/ + +#SRCURL[0]="http://prdownloads.sourceforge.net/sbcl/sbcl-${PKGVERSION}-source.tar.bz2?download sbcl-${PKGVERSION}.tar.bz2" +SRCURL[0]="https://beehive.molgen.mpg.de/fc895a3a2755397aac7cde82023412b9/sbcl-2.3.10.tar.bz2" +#SRCURL[1]="http://prdownloads.sourceforge.net/sbcl/sbcl-2.3.10-x86-64-linux-binary.tar.bz2" +SRCURL[1]="https://beehive.molgen.mpg.de/1c114fda7a15c280cb5c04e81101e03b/sbcl-2.3.10-x86-64-linux-binary.tar.bz2" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +mee_configure() { + start_cmd rsync -av ${S}/ ${B} --exclude sbcl-2.3.10-x86-64-linux +} + +mee_build() { + start_cmd cd ${S}/sbcl-2.3.10-x86-64-linux/ + INSTALL_ROOT="${S}" start_cmd sh install.sh + start_cmd cd - + + PATH="$PATH:${S}/bin" start_cmd sh make.sh sbcl --prefix=${PREFIX} --fancy +} + +mee_install() { + SBCL_HOME="" INSTALL_ROOT="${D}${PREFIX}" start_cmd sh install.sh +} + +#mee_install_post() { +# exit +#}