diff options
Diffstat (limited to 'academic/mathomatic/mathomatic.SlackBuild')
-rw-r--r-- | academic/mathomatic/mathomatic.SlackBuild | 18 |
1 files changed, 16 insertions, 2 deletions
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 \ |