summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-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 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 <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 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"