#Packager: Christian Dersch <chrisdersch@googlemail.com> 

pkgname=maxima
pkgver=5.23.2
pkgrel=1cd
source=("http://downloads.sourceforge.net/project/maxima/Maxima-source/$pkgver-source/maxima-$pkgver.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://maxima.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"maxima (free CAS)"
"maxima is a free Computer Algebra System for symbolic and numeric "
"mathematics. It supports ifferentiation, integration, Taylor series, "
"Laplace transforms, ordinary differential equations, systems of linear"
"equations, polynomials, and sets, lists, vectors, matrices & tensors."
"Maxima yields high precision numeric results by using exact fractions,"
"arbitrary precision integers, and variable precision floating point "
"numbers. Maxima can plot functions and data in two & three dimensions."
""
"http://maxima.sourceforge.net/"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}