# $Id$ # Contributor: John Proctor # Contributor: Daniel White # Maintainer: Juergen Hoetzel # Contributor: Leslie Polzer (skypher) # ALARM: Kevin Mihelich # - disable sb-thread, not supported on ARM buildarch=4 pkgname=sbcl pkgver=1.3.20 pkgrel=1 pkgdesc="Steel Bank Common Lisp" url="http://www.sbcl.org/" arch=('i686' 'x86_64') license=('custom') depends=('zlib') provides=('common-lisp' 'cl-asdf') makedepends=('sbcl') source=("https://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" "arch-fixes.lisp") sha256sums=('5282318053b62ff041c14956dd5a2e2e66697482141713c6c5df375d05cd1f62' 'b5a6468dcbc1012cae2c3cda155762a37b6d96ef89bba4f723315063b0b5e7ce') build() { cd "$srcdir/$pkgname-$pkgver" export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl" export GNUMAKE="make" # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS export LINKFLAGS="$LDFLAGS" unset LDFLAGS unset MAKEFLAGS if [[ ${CARCH} = x86_64 ]]; then enable_disable_largefile=enable else enable_disable_largefile=disable fi # Make a multi-threaded SBCL, disable LARGEFILE cat >customize-target-features.lisp <