diff options
Diffstat (limited to 'libraries/spglib')
-rw-r--r-- | libraries/spglib/spglib.SlackBuild | 9 | ||||
-rw-r--r-- | libraries/spglib/spglib.info | 8 |
2 files changed, 11 insertions, 6 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 \ diff --git a/libraries/spglib/spglib.info b/libraries/spglib/spglib.info index 461671661a..cb307022a1 100644 --- a/libraries/spglib/spglib.info +++ b/libraries/spglib/spglib.info @@ -1,10 +1,10 @@ PRGNAM="spglib" -VERSION="2.5.0" +VERSION="2.6.0" HOMEPAGE="https://spglib.github.io/spglib/" -DOWNLOAD="https://github.com/spglib/spglib/archive/v2.5.0/spglib-2.5.0.tar.gz" -MD5SUM="13cdcdac341e1cd059502758f2721e70" +DOWNLOAD="https://github.com/spglib/spglib/archive/v2.6.0/spglib-2.6.0.tar.gz" +MD5SUM="adc65effebbfcd4daa722f1eac4297c9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-numpy" +REQUIRES="cmake-opt python3-numpy" MAINTAINER="Giancarlo Dessì" EMAIL="slack@giand.it" |