diff options
author | Lorenzo Trevisan <lorenzo.trevisan@gmail.com> | 2023-12-21 22:18:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-21 23:14:41 +0700 |
commit | e470bc26bcfada290a86f421a4a15381a37c82e3 (patch) | |
tree | 108280b3fc3e7cdf88916ddf4b6fff0546721de3 /academic | |
parent | 026db383f78b24fa383a592172360d3ee84c5303 (diff) |
academic/dakota: Updated for version 6.19.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/dakota/dakota.SlackBuild | 17 | ||||
-rw-r--r-- | academic/dakota/dakota.info | 14 |
2 files changed, 17 insertions, 14 deletions
diff --git a/academic/dakota/dakota.SlackBuild b/academic/dakota/dakota.SlackBuild index 7a043c21766be..2e907ef4f2652 100644 --- a/academic/dakota/dakota.SlackBuild +++ b/academic/dakota/dakota.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Dakota -# Copyright 2017, 2018, 2019, 2020, 2021, 2022, 2023 Lorenzo Trevisan, Caorle, Venice, Italy +# Copyright 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 Lorenzo Trevisan, Caorle, Venice, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dakota -VERSION=${VERSION:-6.17.0} +VERSION=${VERSION:-6.19.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,9 +69,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION-release-public-src-cli -tar xvf $CWD/$PRGNAM-$VERSION-release-public-src-cli.tar.gz -cd $PRGNAM-$VERSION-release-public-src-cli +rm -rf $PRGNAM-$VERSION-public-src-cli +tar xvf $CWD/$PRGNAM-$VERSION-public-src-cli.tar.gz chown -R root:root . find -L . \ @@ -80,6 +79,10 @@ 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 {} \; +cd $PRGNAM-$VERSION-public-src-cli + +sed -i -e '11 a #include <math.h>' ./src/unit/dakota_tolerance_intervals/test_tolerance_intervals.cpp + mkdir -p build cd build cmake \ @@ -99,8 +102,8 @@ install -D -m755 $CWD/$PRGNAM.csh $PKG/etc/profile.d/$PRGNAM.csh.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYRIGHT LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION -tar xvf $CWD/html-dev-${VERSION}-release.tar.gz -C $PKG/usr/doc/$PRGNAM-$VERSION -tar xvf $CWD/user-html-${VERSION}-release.tar.gz -C $PKG/usr/doc/$PRGNAM-$VERSION +tar xvf $CWD/html-dev-${VERSION}.tar.gz -C $PKG/usr/doc/$PRGNAM-$VERSION +tar xvf $CWD/user-html-${VERSION}.tar.gz -C $PKG/usr/doc/$PRGNAM-$VERSION chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION chmod 755 $(find $PKG/usr/doc/$PRGNAM-$VERSION -type d) cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/academic/dakota/dakota.info b/academic/dakota/dakota.info index 602ab78d6a30d..93d83f4c25139 100644 --- a/academic/dakota/dakota.info +++ b/academic/dakota/dakota.info @@ -1,12 +1,12 @@ PRGNAM="dakota" -VERSION="6.17.0" +VERSION="6.19.0" HOMEPAGE="https://dakota.sandia.gov/" -DOWNLOAD="https://dakota.sandia.gov/sites/default/files/distributions/public/dakota-6.17.0-release-public-src-cli.tar.gz \ - https://dakota.sandia.gov/sites/default/files/docs/6.17.0-release/user-html-6.17.0-release.tar.gz \ - https://dakota.sandia.gov/sites/default/files/docs/6.17.0-release/html-dev-6.17.0-release.tar.gz" -MD5SUM="26fe05789b231a83e9e6f15aa7e7103e \ - 247f6b5da298867aba3821a3d1220c0b \ - 6c7780858c3b3d1ea0196ccde1ade5ac" +DOWNLOAD="https://github.com/snl-dakota/dakota/releases/download/v6.19.0/dakota-6.19.0-public-src-cli.tar.gz \ + https://snl-dakota.github.io/docs/6.19.0/downloads/user-html-6.19.0.tar.gz \ + https://snl-dakota.github.io/docs/6.19.0/downloads/html-dev-6.19.0.tar.gz" +MD5SUM="78210b4aa56dc15b5e05054b83f265f0 \ + da5c00e92c271a451295e2ac26ee02f5 \ + 10fbfb5a564e79c3ffcbb8ee246c0973" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="blas lapack" |