aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-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 3ec13c0d6481..6dc1eb87a1cf 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 f62c1f2f80d7..b633fa62d41a 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"