diff options
Diffstat (limited to 'academic/getdp/getdp.SlackBuild')
-rw-r--r-- | academic/getdp/getdp.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/academic/getdp/getdp.SlackBuild b/academic/getdp/getdp.SlackBuild index edf57073d1..751b64a88c 100644 --- a/academic/getdp/getdp.SlackBuild +++ b/academic/getdp/getdp.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Slackware build script for getdp -# Copyright 2020 Fellype do Nascimento, Campinas, Brazil +# Copyright 2020-2022 Fellype do Nascimento, Guaratingueta, Brazil # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=getdp -VERSION=${VERSION:-3.3.0} +VERSION=${VERSION:-3.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,9 +77,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -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 cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \ @@ -87,13 +84,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 \ |