aboutsummaryrefslogtreecommitdiff
path: root/academic/cadabra2/cadabra2.SlackBuild
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2018-04-02 20:16:42 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-07 08:13:09 +0700
commitd51191d938d357676966d0c8da408d08a0ea0de7 (patch)
tree1c0a29c3ca4f6fa2407a7f92a62fa03b93a60489 /academic/cadabra2/cadabra2.SlackBuild
parent4e97a1fccb5141015920ced7cf709958bc92ccce (diff)
academic/cadabra2: Updated for version 2.2.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/cadabra2/cadabra2.SlackBuild')
-rw-r--r--academic/cadabra2/cadabra2.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/academic/cadabra2/cadabra2.SlackBuild b/academic/cadabra2/cadabra2.SlackBuild
index cfede0fec2e8b..35083bc221b4d 100644
--- a/academic/cadabra2/cadabra2.SlackBuild
+++ b/academic/cadabra2/cadabra2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cadabra2
-# Copyright 2017, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2017-2018, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cadabra2
-VERSION=${VERSION:-2.1.7}
+VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,9 +76,12 @@ sed --in-place \
client_server/websocketpp/websocketpp/transport/asio/endpoint.hpp
sed --in-place \
- -e "s/\(LIBRARY DESTINATION lib\)/\1${LIBDIRSUFFIX}/" \
- client_server/CMakeLists.txt \
- frontend/common/CMakeLists.txt
+ -e "s/\(DESTINATION lib\)/\1${LIBDIRSUFFIX}/" \
+ client_server/CMakeLists.txt
+
+sed --in-place \
+ -e "s/\(CMAKE_INSTALL_PREFIX}\/lib\)/\1${LIBDIRSUFFIX}/" \
+ CMakeLists.txt
sed --in-place \
-e '/^execute_process(COMMAND texhash)$/d' \