maxima: update to 5.36.0

This commit is contained in:
Alessio Sergi 2015-04-23 15:03:00 +02:00
parent 20ae797ec0
commit 291c762c10
1 changed files with 10 additions and 11 deletions

View File

@ -1,34 +1,35 @@
# Template file for 'maxima'
pkgname=maxima
version=5.35.1
version=5.36.0
revision=1
build_style=gnu-configure
hostmakedepends="python perl emacs"
makedepends="clisp readline-devel"
depends="clisp"
replaces="maxima<5.34.1_1"
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=9ed1a996afdf7410a932842801c954c53b003983d07bafd7a1ea999fbcda98f3
checksum=3c854396ec9e6dbf72c2d37dfa629b6ea10aa2adee8763b92088f6ac4c31e479
post_install() {
vmkdir usr/share/doc
ln -sf ../maxima/${version}/doc ${DESTDIR}/usr/share/doc/maxima
}
maxima-src_package() {
noarch=yes
replaces="maxima<5.34.1_1"
depends="${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - source files"
pkg_install() {
vmove usr/share/maxima/${version}/src
}
}
maxima-emacs_package() {
noarch=yes
replaces="maxima<5.34.1_1"
short_desc+=" - Emacs interface"
depends="${sourcepkg}>=${version}_${revision} virtual?emacs"
depends="${sourcepkg}-${version}_${revision} virtual?emacs"
pkg_install() {
vmove usr/share/maxima/${version}/emacs
vmkdir usr/share/emacs/site-lisp
@ -36,11 +37,9 @@ maxima-emacs_package() {
${PKGDESTDIR}/usr/share/emacs/site-lisp/maxima
}
}
xmaxima_package() {
replaces="maxima<5.34.1_1"
short_desc+=" - Tk interface"
depends="${sourcepkg}>=${version}_${revision} tk"
depends="${sourcepkg}-${version}_${revision} tk"
pkg_install() {
vmove usr/bin/xmaxima
vmove usr/share/maxima/${version}/xmaxima