summaryrefslogtreecommitdiffstats
path: root/academic
diff options
context:
space:
mode:
author Fellype do Nascimento <fellype (at) gmail (dot) com>2022-04-29 16:05:42 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-30 13:51:58 +0700
commitbfd4c97ea9a98950b2578ea0a47327f7174c9e53 (patch)
tree7d38ee93355ef9c057d8315202d5b37672ea2cd7 /academic
parentb52a56d4e0b0e37b1e01f49ac7afa691165c1718 (diff)
downloadslackbuilds-bfd4c97ea9a98950b2578ea0a47327f7174c9e53.tar.gz
slackbuilds-bfd4c97ea9a98950b2578ea0a47327f7174c9e53.tar.xz
academic/getdp: Update README.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/getdp/README8
-rw-r--r--academic/getdp/getdp.SlackBuild5
-rw-r--r--academic/getdp/getdp.info2
3 files changed, 12 insertions, 3 deletions
diff --git a/academic/getdp/README b/academic/getdp/README
index 95de2587d8..4e131496bc 100644
--- a/academic/getdp/README
+++ b/academic/getdp/README
@@ -8,3 +8,11 @@ ASCII data files) and the symbolic mathematical expressions of these
problems.
Optional dependency: gmsh
+
+Note:
+If you want to build Getdp with Gmsh support it is necessary to
+install the Gmsh package first, but compiled with both static and
+dynamic libraries. If you use the build script for Gmsh available at
+SBo you just need to pass:
+BUILDSTATICLIB=yes
+prior to run gmsh.SlackBuild
diff --git a/academic/getdp/getdp.SlackBuild b/academic/getdp/getdp.SlackBuild
index 861e21effd..0763576717 100644
--- a/academic/getdp/getdp.SlackBuild
+++ b/academic/getdp/getdp.SlackBuild
@@ -87,13 +87,14 @@ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DENABLE_BUILD_SHARED=ON \
+ -DENABLE_GMSH=ON \
-DENABLE_PETSC=OFF \
-DENABLE_SLEPC=OFF \
..
-# only demos/ and templates/ folders will be leaved in the /usr/share/getdp dir
+# only demos/ and templates/ folders will be left in the /usr/share/getdp dir
make
-make install DESTDIR=$PKG
+make -j1 install DESTDIR=$PKG
cd -
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/academic/getdp/getdp.info b/academic/getdp/getdp.info
index c470960b11..56a79610bb 100644
--- a/academic/getdp/getdp.info
+++ b/academic/getdp/getdp.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://getdp.info/src/getdp-3.4.0-source.tgz"
MD5SUM="76472429f7741a42c3ca3d8626e74e30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="arpack-ng OpenBLAS"
+REQUIRES="arpack-ng OpenBLAS %README%"
MAINTAINER="Fellype do Nascimento"
EMAIL="fellype (at) gmail (dot) com"