From 00a702a66e467137ab35fa1bca31448acea6e4e3 Mon Sep 17 00:00:00 2001 From: Lorenzo Trevisan Date: Fri, 27 Jan 2023 20:48:26 +0000 Subject: [PATCH] academic/dakota: Updated for version 6.17.0. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- academic/dakota/dakota.SlackBuild | 26 +++++++++++--------------- academic/dakota/dakota.info | 16 +++++++--------- 2 files changed, 18 insertions(+), 24 deletions(-) diff --git a/academic/dakota/dakota.SlackBuild b/academic/dakota/dakota.SlackBuild index e5473809b7..7a043c2176 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 Lorenzo Trevisan, Caorle, Venice, Italy +# Copyright 2017, 2018, 2019, 2020, 2021, 2022, 2023 Lorenzo Trevisan, Caorle, Venice, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dakota -VERSION=${VERSION:-6.16.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-6.17.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,8 +69,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION-public-src-cli -tar xvf $CWD/$PRGNAM-$VERSION-public-src-cli.tar.gz +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 chown -R root:root . find -L . \ @@ -79,12 +80,6 @@ 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 - -# BREAKING CHANGE from Boost version 1.76: boost::dll::import was renamed to -# boost::dll::import_symbol to avoid collision with C++20 import keyword. -sed -i -e '114s=boost::dll::import=boost::dll::import_symbol=' ./src/PluginInterface.cpp - mkdir -p build cd build cmake \ @@ -103,10 +98,11 @@ install -D -m755 $CWD/$PRGNAM.sh $PKG/etc/profile.d/$PRGNAM.sh.new install -D -m755 $CWD/$PRGNAM.csh $PKG/etc/profile.d/$PRGNAM.csh.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYRIGHT LICENSE INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION -cp $CWD/Users-${VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Users.pdf -cp $CWD/Theory-${VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Theory.pdf -tar xvf $CWD/html-ref-${VERSION}.tar.gz -C $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 +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 mkdir -p $PKG/install diff --git a/academic/dakota/dakota.info b/academic/dakota/dakota.info index 85b85c027a..602ab78d6a 100644 --- a/academic/dakota/dakota.info +++ b/academic/dakota/dakota.info @@ -1,14 +1,12 @@ PRGNAM="dakota" -VERSION="6.16.0" +VERSION="6.17.0" HOMEPAGE="https://dakota.sandia.gov/" -DOWNLOAD="https://dakota.sandia.gov/sites/default/files/distributions/public/dakota-6.16.0-public-src-cli.tar.gz \ - https://dakota.sandia.gov/sites/default/files/docs/6.16.0/Users-6.16.0.pdf \ - https://dakota.sandia.gov/sites/default/files/docs/6.16.0/html-ref-6.16.0.tar.gz \ - https://dakota.sandia.gov/sites/default/files/docs/6.16.0/Theory-6.16.0.pdf" -MD5SUM="a19f8965d77111e0fc3ce67723c4ea03 \ - 66b25ac4b1882b113fa5685a225778e9 \ - 23c7cfec6476f0bfd75cb77d3e4a226f \ - 7e47ee1b27fe83b7b833778f6269c04f" +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_x86_64="" MD5SUM_x86_64="" REQUIRES="blas lapack"