diff options
author | Lockywolf <for_sbo.qhull2020_2023-11-19@lockywolf.net> | 2023-12-01 08:27:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-01 08:55:49 +0700 |
commit | 68ef0a1b53cdc6da9205b8422f6483f4e7da9c88 (patch) | |
tree | b30de9b40585f9c8035e9bb7d64f69cc1e6e6c88 /academic/qhull/qhull.SlackBuild | |
parent | 8b8e17fb0a7ac6a34849a18e0d186b76d149362d (diff) |
academic/qhull: Updated for version 8.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/qhull/qhull.SlackBuild')
-rw-r--r-- | academic/qhull/qhull.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild index 03e63ba985502..a9e47aa82907a 100644 --- a/academic/qhull/qhull.SlackBuild +++ b/academic/qhull/qhull.SlackBuild @@ -4,6 +4,7 @@ # Copyright 2012 Chris Abela, Malta # Copyright 2014 Ryan P.C. McQuen, ryanpcmcquen@member.fsf.org, WA +# Copyright 2023, Lockywolf # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +27,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qhull -VERSION=${VERSION:-2015.2} -BUILD_VERSION=${BUILD_VERSION:-7.2.0} +VERSION=${VERSION:-8.0.2} +BUILD_VERSION=${BUILD_VERSION:-2020} +BUILD_VERSION_PATCH=${BUILD_VERSION_PATCH:-2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,9 +73,11 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-${VERSION%.*}-src-${BUILD_VERSION}.tgz -cd $PRGNAM-$VERSION + +rm -rf $PRGNAM-$BUILD_VERSION.$BUILD_VERSION_PATCH +tar xvf $CWD/$PRGNAM-${BUILD_VERSION}-src-${VERSION}.tgz +cd $PRGNAM-$BUILD_VERSION.$BUILD_VERSION_PATCH + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -92,6 +96,8 @@ cd build -DINCLUDE_INSTALL_DIR=/usr/include \ -DMAN_INSTALL_DIR=/usr/man/man1 \ -DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \ + -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ + -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG |