mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
academic/mpb: Updated for version 1.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
79762b6bd8
commit
757c4b84a5
2 changed files with 9 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue