aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorPaulKinsler <dr.paul@kinsler.org>2021-01-30 09:23:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-30 09:23:19 +0700
commit757c4b84a5a8c2f6fc9d4477778d599fcc16ebc2 (patch)
tree4f70669421f22229319a56e3dd0ca86d41e8ca6a /academic
parent79762b6bd8c4ce90d323047c54b3278bc5814e70 (diff)
academic/mpb: Updated for version 1.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/mpb/mpb.SlackBuild17
-rw-r--r--academic/mpb/mpb.info6
2 files changed, 9 insertions, 14 deletions
diff --git a/academic/mpb/mpb.SlackBuild b/academic/mpb/mpb.SlackBuild
index 3f60fe2617e06..21919649345d0 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 b3575b5b0ac86..bd24b0e499423 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"