mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/OpenVSP: Moved from graphics. Updated for version 3.31.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2617b36f37
commit
6c0630ab45
2 changed files with 9 additions and 7 deletions
|
@ -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 ..
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue