aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2023-01-20 04:24:00 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-21 10:22:03 +0700
commit6c0630ab4562a9f12c9526ced203072b71b7a5fb (patch)
tree61f767d1d41e1be10f8174721d9a676cde231200
parent2617b36f370311194bf9a6861ab1e3166bf67292 (diff)
academic/OpenVSP: Moved from graphics. Updated for version 3.31.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/OpenVSP/OpenVSP.SlackBuild10
-rw-r--r--academic/OpenVSP/OpenVSP.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/academic/OpenVSP/OpenVSP.SlackBuild b/academic/OpenVSP/OpenVSP.SlackBuild
index c2133d3f4be90..9cade4a39ee4a 100644
--- a/academic/OpenVSP/OpenVSP.SlackBuild
+++ b/academic/OpenVSP/OpenVSP.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenVSP
-VERSION=${VERSION:-3.30.0}
+VERSION=${VERSION:-3.31.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}-${PRGNAM}_$VERSION
-tar -xvf $CWD/${PRGNAM}-${PRGNAM}_$VERSION.tar.gz
+tar -xvf $CWD/${PRGNAM}_$VERSION.tar.gz || tar -xvf $CWD/${PRGNAM}-${PRGNAM}_$VERSION.tar.gz
cd $PRGNAM-${PRGNAM}_$VERSION
chown -R root:root .
find -L . \
@@ -93,8 +93,9 @@ cd buildlibs
-DVSP_USE_SYSTEM_CODEELI=false \
-DVSP_USE_SYSTEM_CPPTEST=false \
-DCMAKE_BUILD_TYPE=Release \
+ -Wno-dev \
../Libraries
- make -j1 # parallel builds broken
+ make
cd ../build
cmake \
@@ -102,7 +103,8 @@ cd ../build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DVSP_LIBRARY_PATH=$TMP/${PRGNAM}-${PRGNAM}_$VERSION/buildlibs \
-DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_BUILD_TYPE=Release \
+ -Wno-dev ..
make
make install DESTDIR=$PKG
cd ..
diff --git a/academic/OpenVSP/OpenVSP.info b/academic/OpenVSP/OpenVSP.info
index c45675275d105..b5796bb21790a 100644
--- a/academic/OpenVSP/OpenVSP.info
+++ b/academic/OpenVSP/OpenVSP.info
@@ -1,8 +1,8 @@
PRGNAM="OpenVSP"
-VERSION="3.30.0"
+VERSION="3.31.1"
HOMEPAGE="http://openvsp.org"
-DOWNLOAD="https://github.com/OpenVSP/OpenVSP/archive/refs/tags/OpenVSP_3.30.0/OpenVSP-OpenVSP_3.30.0.tar.gz"
-MD5SUM="c7d5a37b9369f03b05b1844c26d8d2ab"
+DOWNLOAD="https://github.com/OpenVSP/OpenVSP/archive/refs/tags/OpenVSP_3.31.1/OpenVSP_3.31.1.tar.gz"
+MD5SUM="5267cdc9d1c6050fd0b8bc963e179b87"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fltk"