From 3730dc16d0364e350f4404e236b969d7ad9562d0 Mon Sep 17 00:00:00 2001 From: Matthew Fillpot Date: Fri, 4 May 2012 20:01:10 -0400 Subject: academic/mathomatic: Updated for version 15.8.3. Signed-off-by: dsomero --- academic/mathomatic/README | 2 ++ academic/mathomatic/mathomatic.SlackBuild | 18 ++++++++++++++++-- academic/mathomatic/mathomatic.info | 6 +++--- 3 files changed, 21 insertions(+), 5 deletions(-) (limited to 'academic') diff --git a/academic/mathomatic/README b/academic/mathomatic/README index 3c01da81e0..9cae9a2574 100644 --- a/academic/mathomatic/README +++ b/academic/mathomatic/README @@ -12,3 +12,5 @@ language code from simplified equations, carry out quick calculations, and much more. Plotting with gnuplot is also supported. Not implemented in Mathomatic are named functions, arbitrary-precision arithmetic, and matrices. + +Requires: rlwrap (available at slackbuilds.org) diff --git a/academic/mathomatic/mathomatic.SlackBuild b/academic/mathomatic/mathomatic.SlackBuild index 271d6a7c5f..5fd15fa2bb 100644 --- a/academic/mathomatic/mathomatic.SlackBuild +++ b/academic/mathomatic/mathomatic.SlackBuild @@ -25,7 +25,7 @@ # Originally written by Dylan Armitage PRGNAM=mathomatic -VERSION=${VERSION:-15.8.1} +VERSION=${VERSION:-15.8.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,7 +78,21 @@ LDLIBS=-lncurses \ # We do want to make sure it works. This is math, afterall. make test -make install \ +# Make the m4 package +make m4install \ + prefix=/usr \ + mandir=/usr/man \ + mathdocdir=/usr/doc/$PRGNAM-$VERSION \ + DESTDIR=$PKG + +# make the prime number additions +CFLAGS="$SLKCFLAGS" \ +LDLIBS=-lncurses \ + make READLINE=1 -C primes + +make test -C primes + +make install -C primes \ prefix=/usr \ mandir=/usr/man \ mathdocdir=/usr/doc/$PRGNAM-$VERSION \ diff --git a/academic/mathomatic/mathomatic.info b/academic/mathomatic/mathomatic.info index d41d9b8e19..efdfe31e76 100644 --- a/academic/mathomatic/mathomatic.info +++ b/academic/mathomatic/mathomatic.info @@ -1,8 +1,8 @@ PRGNAM="mathomatic" -VERSION="15.8.1" +VERSION="15.8.3" HOMEPAGE="http://www.mathomatic.org" -DOWNLOAD="http://mathomatic.org/mathomatic-15.8.1.tar.bz2" -MD5SUM="7a952108154766eb11cf619b544b9027" +DOWNLOAD="http://mathomatic.org/mathomatic-15.8.3.tar.bz2" +MD5SUM="df4296e27840ecafe87f16ff9cf181ac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Matthew Fillpot" -- cgit v1.2.3