summaryrefslogtreecommitdiff
path: root/academic/cadabra2/cadabra2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/cadabra2/cadabra2.SlackBuild')
-rw-r--r--academic/cadabra2/cadabra2.SlackBuild6
1 files changed, 4 insertions, 2 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