From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/sbcl/PKGBUILD | 73 ++++++++++++++++++++++++++++++++++++++++++++++ extra/sbcl/arch-fixes.lisp | 21 +++++++++++++ extra/sbcl/sbcl.install | 18 ++++++++++++ 3 files changed, 112 insertions(+) create mode 100644 extra/sbcl/PKGBUILD create mode 100644 extra/sbcl/arch-fixes.lisp create mode 100644 extra/sbcl/sbcl.install (limited to 'extra/sbcl') diff --git a/extra/sbcl/PKGBUILD b/extra/sbcl/PKGBUILD new file mode 100644 index 000000000..c54bc6df9 --- /dev/null +++ b/extra/sbcl/PKGBUILD @@ -0,0 +1,73 @@ +# $Id: PKGBUILD 117231 2011-03-30 10:39:06Z juergen $ +# Contributor: John Proctor +# Contributor: Daniel White +# Maintainer: Juergen Hoetzel +# Contributor: Leslie Polzer (skypher) + +pkgname=sbcl +pkgver=1.0.47 +pkgrel=1 +pkgdesc="Steel Bank Common Lisp" +arch=('i686' 'x86_64') +license=('custom') +depends=('glibc') +provides=('common-lisp' 'cl-asdf') +makedepends=('sbcl' 'texinfo') +source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" "arch-fixes.lisp") +md5sums=('2e90fca5ffec9ce19ed232b24f09cd0a' + '7ac0c1936547f4278198b8bf7725204d') +url="http://www.sbcl.org/" +install=sbcl.install + +build() { + export CFLAGS="${CFLAGS} -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" + export GNUMAKE="make -e" + + # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS + export LINKFLAGS="$LD_FLAGS" + unset LDFLAGS + cd ${startdir}/src/${pkgname}-${pkgver} + # Make a multi-threaded SBCL, disable LARGEFILE + cat >customize-target-features.lisp < /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} -- cgit v1.2.3-54-g00ecf