diff options
Diffstat (limited to 'libraries/spglib/spglib.SlackBuild')
-rw-r--r-- | libraries/spglib/spglib.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/spglib/spglib.SlackBuild b/libraries/spglib/spglib.SlackBuild index c048ce716d..9e67571d80 100644 --- a/libraries/spglib/spglib.SlackBuild +++ b/libraries/spglib/spglib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for spglib -# Copyright 2020-2024 Giancarlo Dessì, Cagliari, IT +# Copyright 2020-2025 Giancarlo Dessì, Cagliari, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=spglib -VERSION=${VERSION:-2.5.0} +VERSION=${VERSION:-2.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,6 +86,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +if [ $(cmake --version |head -1 |cut -f3 -d' ') == "3.21.4" ]; then + echo "export PATH for cmake-opt" + export PATH="/opt/cmake-opt/bin/:$PATH" +fi + mkdir -p build cd build cmake \ |