maxima: update to 5.37.1.

Enable options for sbcl and clisp, compress sbcl images.
This commit is contained in:
Christian Neukirchen 2015-10-10 19:08:57 +02:00
parent 5ef2786f48
commit 2b25052542

View file

@ -1,17 +1,28 @@
# Template file for 'maxima'
pkgname=maxima
version=5.37.0
version=5.37.1
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable clisp) $(vopt_enable sbcl)"
hostmakedepends="python perl emacs"
makedepends="clisp readline-devel"
depends="clisp"
makedepends="$(vopt_if clisp clisp) $(vopt_if sbcl sbcl) readline-devel"
depends="$(vopt_if clisp clisp) $(vopt_if sbcl sbcl)"
short_desc="Computer Algebra System"
maintainer="Martin Riese <grauehaare@gmx.de>"
homepage="http://maxima.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/maxima/maxima-${version}.tar.gz"
checksum=499e14355019c597406271188e6c49cd0609af633d0782980198745d8da876d1
checksum=511477cbdf4645a6abd49596d59ed449ec8e012f90b59b1ddffc783c697bf744
build_options="clisp sbcl"
desc_option_clisp="Build with CLISP"
desc_option_sbcl="Build with SBCL"
build_options_default="clisp"
vopt_conflict clisp sbcl
post_configure() {
sed -i 's/(sb-ext:save-lisp-and-die "\$@")/(sb-ext:save-lisp-and-die "$@" :compression 9)/' src/Makefile
}
post_install() {
vmkdir usr/share/doc