From 757c4b84a5a8c2f6fc9d4477778d599fcc16ebc2 Mon Sep 17 00:00:00 2001 From: PaulKinsler Date: Sat, 30 Jan 2021 09:23:19 +0700 Subject: [PATCH] academic/mpb: Updated for version 1.11.1. Signed-off-by: Willy Sudiarto Raharjo --- academic/mpb/mpb.SlackBuild | 17 ++++++----------- academic/mpb/mpb.info | 6 +++--- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/academic/mpb/mpb.SlackBuild b/academic/mpb/mpb.SlackBuild index 3f60fe2617..2191964934 100644 --- a/academic/mpb/mpb.SlackBuild +++ b/academic/mpb/mpb.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mpb -VERSION=${VERSION:-1.10.0} +VERSION=${VERSION:-1.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,12 +75,10 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # if there is no configure script, try to build one! -if [ ! -f ./configure ] ; then +if [ ! -f ./configure ] ; then ./autogen.sh fi - - LOCALCONFIGS= XDBFILE=/etc/sbo_pkg_options.conf if [ -f ${XDBFILE} ] ; then @@ -92,12 +90,11 @@ if [ -n "${SBOPTIONS_MPB}" ] ; then echo Build options selected by environment: LOCALCONFIGS=${LOCALCONFIGS} fi - -# check for the Atlas replacement for blas; if the libraries are found, +# check for the Atlas replacement for blas; if the libraries are found, # add the configure option accordingly -if [ -f /usr/lib/libatlas.a ] ; then - if [ -f /usr/lib/libatlas.so ] ; then +if [ -f /usr/lib/libatlas.a ] ; then + if [ -f /usr/lib/libatlas.so ] ; then echo "NOTICE: libatlas was found, configure --with-blas=atlas" LOCALCONFIGS=${LOCALCONFIGS}" --with-blas=atlas" fi @@ -123,7 +120,6 @@ CPPFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG - CFLAGS="$SLKCFLAGS" \ CPPFLAGS="$SLKCFLAGS" \ ./configure \ @@ -132,7 +128,7 @@ CPPFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ - $LOCALCONFIGS + $LOCALCONFIGS make make install DESTDIR=$PKG @@ -143,7 +139,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/academic/mpb/mpb.info b/academic/mpb/mpb.info index b3575b5b0a..bd24b0e499 100644 --- a/academic/mpb/mpb.info +++ b/academic/mpb/mpb.info @@ -1,8 +1,8 @@ PRGNAM="mpb" -VERSION="1.10.0" +VERSION="1.11.1" HOMEPAGE="https://github.com/NanoComp/mpb" -DOWNLOAD="https://github.com/NanoComp/mpb/releases/download/v1.10.0/mpb-1.10.0.tar.gz" -MD5SUM="92f91cf5e0206e2e4531b780b45469c4" +DOWNLOAD="https://github.com/NanoComp/mpb/releases/download/v1.11.1/mpb-1.11.1.tar.gz" +MD5SUM="99afe4e8e11427c62a896d8eadd1c205" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lapack hdf5 libctl"