diff options
Diffstat (limited to 'libraries/VTK/VTK.SlackBuild')
-rw-r--r-- | libraries/VTK/VTK.SlackBuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild index 88497e9a2afa7..68dce971fe0ab 100644 --- a/libraries/VTK/VTK.SlackBuild +++ b/libraries/VTK/VTK.SlackBuild @@ -4,6 +4,8 @@ # Copyright 2013,2014 Youjie Zhou <jmpopush@gmail.com> # All rights reserved. +# Copyright 2016 Christoph Willing Brisbane, Australia +# All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -22,15 +24,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# 2014-02-14 Merge lib64 patch from Christoph Willing <c.willing@uq.edu.au> -# 2014-02-16 Update to 6.1.0 -# 2014-11-16 Support VTK features -# 2015-12-12 Update to 6.3.0, use external deps, move to /opt -# 2016-07-14 Move back to /usr PRGNAM=VTK -VERSION=${VERSION:-6.3.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-7.1.0} +SHORT_VERSION=${SHORT_VERSION:-7.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -89,8 +87,6 @@ find -L . \ # patch CMakefile first for lib64 issue patch -p0 <$CWD/patch-handle-64bit.diff -# patch for gdal-2.x (gdal is an optional dep) - thanks to Arch -patch -p1 <$CWD/patch-gdal2.diff # -DVTK_CUSTOM_LIBRARY_SUFFIX and -DVTK_INSTALL_INCLUDE_DIR # See https://bugs.archlinux.org/task/43378?project=5&cat[0]=33&string=vtk @@ -148,12 +144,10 @@ cp -a \ CONTRIBUTING.md Copyright.txt README.md \ $PKG/usr/doc/$PRGNAM-$VERSION mv \ - $PKG/usr/share/doc/vtk-6.3/verdict/ \ + $PKG/usr/share/doc/vtk-$SHORT_VERSION/verdict/ \ $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - rm -rf $PKG/usr/share/doc -rm -rf $PKG/usr/share/cmake +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |