blob: 86f9ab1f50be78a5237cd5bded1c74c396eaac67 (
plain) (
tree)
|
|
# Contributor: Lee Starnes <lee@canned-death.us>
# Maintainer: Lee Starnes <lee@canned-death.us>
pkgname=sbcl
pkgver=2.0.3
pkgrel=0
pkgdesc="Steel Bank Common Lisp"
url="http://www.sbcl.org"
arch="all !armv7"
license="BSD-2-Clause AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND MIT"
depends=""
makedepends="clisp clisp-dev"
checkdepends="ed"
subpackages="$pkgname-doc"
# Patch provided by Eric Timmons: https://bugs.launchpad.net/sbcl/+bug/1768368
source="https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.bz2
musl-libc.patch"
prepare() {
default_prepare
# run-program test is hard-coded to use /bin/ed but it should be /usr/bin/ed
sed -i 's,/bin/ed,/usr/bin/ed,g' tests/run-program.impure.lisp
}
build() {
./make.sh --prefix=/usr --with-dlclose-is-noop --xc-host=clisp
}
check() {
cd tests && sh run-tests.sh
}
package() {
INSTALL_ROOT="$pkgdir"/usr sh install.sh
}
sha512sums="c29c115fff0e118e5c05959dd8d73ae876458daeb5ddde67ce485b10e6d1583b1f8a9597b54b45606696ab1b1eea5392dcb09357c83fce31323f2a5a154f2dd1 sbcl-2.0.3-source.tar.bz2
e6757e4cc623682c501ab5e255a881833ff393efac829ffe9f67fff0a005724c3c03a23352b4c88d58b3d15dbb0cf33c8cc58d72d3795abb2f12a4bca4302165 musl-libc.patch"
|