mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/getdp: Updated for version 3.5.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
557056a633
commit
53fbbc2bed
3 changed files with 4 additions and 18 deletions
|
@ -1,11 +0,0 @@
|
||||||
#diff a/Kernel/Operation_Broadcast.cpp b/Kernel/Operation_Broadcast.cpp
|
|
||||||
#--- a/Kernel/Operation_Broadcast.cpp
|
|
||||||
#+++ b/Kernel/Operation_Broadcast.cpp
|
|
||||||
@@ -5,6 +5,7 @@
|
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
|
||||||
+#include <cstring> // for strncpy()
|
|
||||||
#include <sstream>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
|
@ -23,7 +23,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=getdp
|
PRGNAM=getdp
|
||||||
VERSION=${VERSION:-3.4.0}
|
VERSION=${VERSION:-3.5.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -77,9 +77,6 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
# Patch that allow compilation without a fail (credits to: DragonFlyBSD/DPorts)
|
|
||||||
patch -p1 < $CWD/Kernel_Operation__Broadcast.patch Kernel/Operation_Broadcast.cpp
|
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="getdp"
|
PRGNAM="getdp"
|
||||||
VERSION="3.4.0"
|
VERSION="3.5.0"
|
||||||
HOMEPAGE="http://getdp.info/"
|
HOMEPAGE="http://getdp.info/"
|
||||||
DOWNLOAD="http://getdp.info/src/getdp-3.4.0-source.tgz"
|
DOWNLOAD="http://getdp.info/src/getdp-3.5.0-source.tgz"
|
||||||
MD5SUM="76472429f7741a42c3ca3d8626e74e30"
|
MD5SUM="157d6604cc6a26ead0b0b4121216074a"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="arpack-ng OpenBLAS %README%"
|
REQUIRES="arpack-ng OpenBLAS %README%"
|
||||||
|
|
Loading…
Reference in a new issue