Files
haikuports/dev-lisp/sbcl/sbcl-2.6.3.recipe
2026-04-03 17:35:45 +02:00

57 lines
1.4 KiB
Bash

SUMMARY="A high performance Common Lisp compiler"
DESCRIPTION="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."
HOMEPAGE="https://sbcl.org"
COPYRIGHT="2002 Gerd Moellmann"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://github.com/sbcl/sbcl/archive/refs/tags/sbcl-$portVersion.zip"
CHECKSUM_SHA256="5d40361e6e881642ea83adc18c4cfa79c50cd0132096423dd37ed3780b5c4539"
SOURCE_DIR="sbcl-sbcl-$portVersion"
ARCHITECTURES="x86_64"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
sbcl$secondaryArchSuffix = $portVersion
cmd:sbcl$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libzstd$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libzstd$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchPrefix
cmd:make
cmd:rm
cmd:sbcl
cmd:sh
"
BUILD()
{
chmod -R a+x *.sh
sh make.sh --xc-host='sbcl --noinit' --with-sb-core-compression --with-sb-simd-pack --without-sb-thread
}
INSTALL()
{
mkdir -p $manDir
mkdir -p $docDir
INSTALL_ROOT=$prefix MAN_DIR=$manDir DOC_DIR=$docDir INFO_DIR=$infoDir sh install.sh
}
TEST()
{
cd tests
./run-tests.sh
}