summaryrefslogtreecommitdiff
path: root/academic/lapacke/lapacke.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/lapacke/lapacke.SlackBuild')
-rw-r--r--academic/lapacke/lapacke.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/academic/lapacke/lapacke.SlackBuild b/academic/lapacke/lapacke.SlackBuild
index 83769eed55..0610d66735 100644
--- a/academic/lapacke/lapacke.SlackBuild
+++ b/academic/lapacke/lapacke.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for LAPACKE
-# Copyright 2016 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2016-2017 Kyle Guinn <elyk03@gmail.com>, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=lapacke
SRCNAM=lapack
-VERSION=${VERSION:-3.6.1}
+VERSION=${VERSION:-3.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,16 +61,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tgz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# Fix lots of bugs with the cmake build system and .pc files.
-# More importantly, allow building only the LAPACKE component.
-patch -p1 < $CWD/patches/generate-pkgconfig.diff
-patch -p1 < $CWD/patches/link-dependencies.diff
-patch -p1 < $CWD/patches/target-cleanup.diff
+# Allow building only the LAPACKE component.
patch -p1 < $CWD/patches/cmake-piecewise.diff
# Avoid adding an RPATH entry to the shared lib. It's unnecessary (except for
@@ -85,7 +81,6 @@ cd shared
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DUSE_OPTIMIZED_LAPACK=ON \
-DBUILD_LAPACKE=ON \
- -DBUILD_TESTING=OFF \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_SKIP_RPATH=YES \
..
@@ -106,7 +101,6 @@ cd static
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DUSE_OPTIMIZED_LAPACK=ON \
-DBUILD_LAPACKE=ON \
- -DBUILD_TESTING=OFF \
..
make
make install/strip DESTDIR=$PKG