diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2020-06-13 00:51:30 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-14 17:45:42 +0700 |
commit | bf01aba0c105e4f0db8e0bc1b281ad02a6e18b62 (patch) | |
tree | 003ed7da5edbc5df88876cac820ea8e3085cbca0 /academic/cadabra2/cadabra2.SlackBuild | |
parent | 21a1c424d8f4fcaf4ffd3bf108a8a0b436506854 (diff) |
academic/cadabra2: Updated for version 2.3.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/cadabra2/cadabra2.SlackBuild')
-rw-r--r-- | academic/cadabra2/cadabra2.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/academic/cadabra2/cadabra2.SlackBuild b/academic/cadabra2/cadabra2.SlackBuild index 53b6152b13364..fbefa6edceb35 100644 --- a/academic/cadabra2/cadabra2.SlackBuild +++ b/academic/cadabra2/cadabra2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cadabra2 -# Copyright 2017-2019, Alexander Verbovetsky, Moscow, Russia +# Copyright 2017-2020, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +23,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cadabra2 -VERSION=${VERSION:-2.2.8} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +MMA=${MMA:-OFF} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -95,6 +96,7 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_MATHEMATICA=${MMA^^} \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -108,7 +110,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc examples README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a contrib doc examples paper CONTRIBUTING.md JUPYTER.rst README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |