summaryrefslogtreecommitdiff
path: root/extra/sbcl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sbcl/PKGBUILD')
-rw-r--r--extra/sbcl/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/extra/sbcl/PKGBUILD b/extra/sbcl/PKGBUILD
index 522d428b4..dbeffd68b 100644
--- a/extra/sbcl/PKGBUILD
+++ b/extra/sbcl/PKGBUILD
@@ -9,11 +9,13 @@ pkgver=1.1.8
pkgrel=1
pkgdesc="Steel Bank Common Lisp"
url="http://www.sbcl.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('glibc' 'zlib')
provides=('common-lisp' 'cl-asdf')
makedepends=('sbcl')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('clisp')
install=sbcl.install
source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2"
"arch-fixes.lisp"
@@ -59,7 +61,11 @@ build() {
(disable :largefile)))
EOF
- sh make.sh sbcl --prefix=/usr
+ if [ "$CARCH" = "mips64el" ]; then
+ sh make.sh clisp --prefix=/usr
+ else
+ sh make.sh sbcl --prefix=/usr
+ fi
make -C doc/manual info
}