maxima: update to 5.35.1
Split source files, emacs and tk interfaces into their own subpackages.
This commit is contained in:
parent
f874d85090
commit
6cde12eec7
5 changed files with 57 additions and 8 deletions
1
srcpkgs/maxima-emacs
Symbolic link
1
srcpkgs/maxima-emacs
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
maxima
|
1
srcpkgs/maxima-src
Symbolic link
1
srcpkgs/maxima-src
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
maxima
|
7
srcpkgs/maxima/files/maxima.desktop
Normal file
7
srcpkgs/maxima/files/maxima.desktop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Maxima
|
||||||
|
Comment=Computer algebra system
|
||||||
|
Exec=xmaxima
|
||||||
|
Icon=maxima
|
||||||
|
Type=Application
|
||||||
|
Categories=Science;Math;
|
|
@ -1,14 +1,53 @@
|
||||||
# Template file for 'maxima'
|
# Template file for 'maxima'
|
||||||
|
pkgname=maxima
|
||||||
pkgname="maxima"
|
version=5.35.1
|
||||||
version=5.34.1
|
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
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"
|
short_desc="Computer Algebra System"
|
||||||
maintainer="Martin Riese <grauehaare@gmx.de>"
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
||||||
license="GPL"
|
|
||||||
homepage="http://maxima.sourceforge.net/"
|
homepage="http://maxima.sourceforge.net/"
|
||||||
hostmakedepends="perl"
|
license="GPL-2"
|
||||||
makedepends="clisp readline-devel"
|
distfiles="${SOURCEFORGE_SITE}/maxima/maxima-${version}.tar.gz"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
checksum=9ed1a996afdf7410a932842801c954c53b003983d07bafd7a1ea999fbcda98f3
|
||||||
checksum=20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7
|
|
||||||
|
maxima-src_package() {
|
||||||
|
noarch=yes
|
||||||
|
replaces="maxima<5.34.1_1"
|
||||||
|
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"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/maxima/${version}/emacs
|
||||||
|
vmkdir usr/share/emacs/site-lisp
|
||||||
|
ln -sf /usr/share/maxima/${version}/emacs \
|
||||||
|
${PKGDESTDIR}/usr/share/emacs/site-lisp/maxima
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
xmaxima_package() {
|
||||||
|
replaces="maxima<5.34.1_1"
|
||||||
|
short_desc+=" - Tk interface"
|
||||||
|
depends="${sourcepkg}>=${version}_${revision} tk"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/xmaxima
|
||||||
|
vmove usr/share/maxima/${version}/xmaxima
|
||||||
|
vmove usr/share/info/xmaxima.info
|
||||||
|
vinstall ${FILESDIR}/maxima.desktop 644 usr/share/applications
|
||||||
|
vmkdir usr/share/pixmaps
|
||||||
|
ln -sf /usr/share/maxima/${version}/xmaxima/maxima-new.png \
|
||||||
|
${PKGDESTDIR}/usr/share/pixmaps/maxima
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/xmaxima
Symbolic link
1
srcpkgs/xmaxima
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
maxima
|
Loading…
Reference in a new issue