From c81af00236132639748f465ae30c49c6a91cb506 Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Wed, 6 Jul 2011 15:48:13 -0300 Subject: Several updates, libwebkit patched for n32 --- extra/maxima/PKGBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'extra/maxima/PKGBUILD') diff --git a/extra/maxima/PKGBUILD b/extra/maxima/PKGBUILD index 1b5bef530..fd8125c2c 100644 --- a/extra/maxima/PKGBUILD +++ b/extra/maxima/PKGBUILD @@ -9,7 +9,11 @@ pkgdesc="Maxima - a sophisticated computer algebra system" arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://maxima.sourceforge.net" -depends=('sbcl=1.0.49' 'texinfo' 'sh') +if [ "${CARCH}" == "mips64el" ] ; then + depends=('clisp' 'texinfo' 'sh') +else + depends=('sbcl=1.0.49' 'texinfo' 'sh') +fi makedepends=('python2') optdepends=('gnuplot: plotting capabilities' 'rlwrap: readline support via /usr/bin/rmaxima' 'tk: graphical xmaxima interface') # needs rebuild when bash changes version @@ -25,9 +29,14 @@ build() { # set correct python executable to create docs sed -i "s|${PYTHONBIN:-python}|python2|" doc/info/extract_categories.sh - + + if [ "${CARCH}" == "mips64el" ] ; then + lisp="--enable-clisp --with-default-lisp=clisp" + else + lisp="--enable-sbcl --with-default-lisp=sbcl" + fi ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ - --libexecdir=/usr/lib --enable-sbcl --with-default-lisp=sbcl + --libexecdir=/usr/lib $lisp make } -- cgit v1.2.3-54-g00ecf