aboutsummaryrefslogtreecommitdiff
path: root/academic/mathomatic
diff options
context:
space:
mode:
authorMatthew Fillpot <mfilpot@gmail.com>2012-05-04 20:01:10 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-07 12:18:06 -0500
commit3730dc16d0364e350f4404e236b969d7ad9562d0 (patch)
treeb28629726e42569d285895e2757a43c3e0d32aca /academic/mathomatic
parentd835fad7a703af3c8f8d65d519d30c9e179060d1 (diff)
academic/mathomatic: Updated for version 15.8.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/mathomatic')
-rw-r--r--academic/mathomatic/README2
-rw-r--r--academic/mathomatic/mathomatic.SlackBuild18
-rw-r--r--academic/mathomatic/mathomatic.info6
3 files changed, 21 insertions, 5 deletions
diff --git a/academic/mathomatic/README b/academic/mathomatic/README
index 3c01da81e05d..9cae9a2574f6 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 271d6a7c5f86..5fd15fa2bb56 100644
--- a/academic/mathomatic/mathomatic.SlackBuild
+++ b/academic/mathomatic/mathomatic.SlackBuild
@@ -25,7 +25,7 @@
# Originally written by Dylan Armitage <d.armitage89@gmail.com>
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 d41d9b8e195b..efdfe31e76f8 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"