diff options
author | PaulKinsler <dr.paul@kinsler.org> | 2021-01-30 09:23:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-30 09:23:19 +0700 |
commit | 757c4b84a5a8c2f6fc9d4477778d599fcc16ebc2 (patch) | |
tree | 4f70669421f22229319a56e3dd0ca86d41e8ca6a /academic/mpb/mpb.SlackBuild | |
parent | 79762b6bd8c4ce90d323047c54b3278bc5814e70 (diff) |
academic/mpb: Updated for version 1.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/mpb/mpb.SlackBuild')
-rw-r--r-- | academic/mpb/mpb.SlackBuild | 17 |
1 files changed, 6 insertions, 11 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 |