aboutsummaryrefslogtreecommitdiff
path: root/academic/mathomatic/mathomatic.SlackBuild
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/mathomatic.SlackBuild
parentd835fad7a703af3c8f8d65d519d30c9e179060d1 (diff)
academic/mathomatic: Updated for version 15.8.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/mathomatic/mathomatic.SlackBuild')
-rw-r--r--academic/mathomatic/mathomatic.SlackBuild18
1 files changed, 16 insertions, 2 deletions
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 \