summaryrefslogtreecommitdiff
path: root/academic/cadabra2
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2020-11-20 20:05:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-22 01:14:21 +0700
commit7eadebf7b4a7abba39714523644ce7886b73d5c0 (patch)
treeaf71baee8fdca49f11b943f1ee0313bda854450e /academic/cadabra2
parent6677ef85784800b2db3b0fcac11f127d07dba0ce (diff)
downloadslackbuilds-7eadebf7b4a7abba39714523644ce7886b73d5c0.tar.gz
academic/cadabra2: Updated for version 2.3.5.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/cadabra2')
-rw-r--r--academic/cadabra2/cadabra2.SlackBuild6
-rw-r--r--academic/cadabra2/cadabra2.info8
2 files changed, 8 insertions, 6 deletions
diff --git a/academic/cadabra2/cadabra2.SlackBuild b/academic/cadabra2/cadabra2.SlackBuild
index 3ec13c0d64..6dc1eb87a1 100644
--- a/academic/cadabra2/cadabra2.SlackBuild
+++ b/academic/cadabra2/cadabra2.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cadabra2
-VERSION=${VERSION:-2.3.3.2}
+VERSION=${VERSION:-2.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
MMA=${MMA:-OFF}
@@ -92,10 +92,12 @@ find ./ -type f -name '*.py' -exec \
mkdir -p build
cd build
- cmake \
+ /opt/cmake-202x/bin/cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DSQLITE3_INCLUDE_DIR=/usr/include \
+ -DENABLE_SYSTEM_JSONCPP=ON \
-DENABLE_MATHEMATICA=${MMA^^} \
-DCMAKE_BUILD_TYPE=Release ..
make
diff --git a/academic/cadabra2/cadabra2.info b/academic/cadabra2/cadabra2.info
index f62c1f2f80..b633fa62d4 100644
--- a/academic/cadabra2/cadabra2.info
+++ b/academic/cadabra2/cadabra2.info
@@ -1,10 +1,10 @@
PRGNAM="cadabra2"
-VERSION="2.3.3.2"
+VERSION="2.3.5"
HOMEPAGE="https://cadabra.science"
-DOWNLOAD="https://downloads.sourceforge.net/slackbuildsdirectlinks/cadabra2/cadabra2-2.3.3.2.tar.gz"
-MD5SUM="81062aa01ec3d35210e5a5e65937aed8"
+DOWNLOAD="https://downloads.sourceforge.net/slackbuildsdirectlinks/cadabra2/cadabra2-2.3.5.tar.gz"
+MD5SUM="4cbcb6e2e3f5250fc97626f6cb86bbfc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-matplotlib python3-gmpy2 python3-sympy"
+REQUIRES="python3-matplotlib python3-gmpy2 python3-sympy jsoncpp cmake-202x"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"