mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
libraries/VTK: Updated for version 7.1.0. New maintainer
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
This commit is contained in:
parent
e3fcce4156
commit
5d9e349319
2 changed files with 13 additions and 19 deletions
|
@ -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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="VTK"
|
||||
VERSION="6.3.0"
|
||||
HOMEPAGE="http://www.vtk.org/VTK/project/project.html"
|
||||
DOWNLOAD="http://www.vtk.org/files/release/6.3/VTK-6.3.0.tar.gz"
|
||||
MD5SUM="0231ca4840408e9dd60af48b314c5b6d"
|
||||
VERSION="7.1.0"
|
||||
HOMEPAGE="http://www.vtk.org"
|
||||
DOWNLOAD="http://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz"
|
||||
MD5SUM="a7e814c1db503d896af72458c2d0228f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Youjie Zhou"
|
||||
EMAIL="jmpopush@gmail.com"
|
||||
MAINTAINER="Christoph Willing"
|
||||
EMAIL="chris.willing@linux.com"
|
||||
|
|
Loading…
Reference in a new issue