summaryrefslogtreecommitdiff
path: root/academic/lapacke/lapacke.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2017-06-28 01:44:29 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-01 07:42:13 +0700
commitb60615cf24a52dd6322e1f4c1f14f982e44fed10 (patch)
tree122db28bd07f2a6cdeb7a2edf9e15974ce2c89c3 /academic/lapacke/lapacke.SlackBuild
parentcb02371b453d74cf89a110f352eb0473bff4698d (diff)
downloadslackbuilds-b60615cf24a52dd6322e1f4c1f14f982e44fed10.tar.gz
academic/lapacke: Updated for version 3.7.1.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
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