Browse Source

l/vtk: Upgraded to vtk-5.8.0.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent
commit
c21d91fad0
  1. 1
      l/vtk/vtk-5.8.0.tar.gz.sha1
  2. 13
      l/vtk/vtk.SlackBuild

1
l/vtk/vtk-5.8.0.tar.gz.sha1

@ -0,0 +1 @@
ece52f4fa92811fe927581e60ecb39a8a5f68cd9 vtk-5.8.0.tar.gz

13
l/vtk/vtk.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010 Damien Goutte-Gattat
# Copyright (C) 2010,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -23,17 +23,12 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest vtk sourcecode is available at: <http://www.vtk.org/>.
#
# Depends:
# Recommends:
# Optional:
# Conflicts:
# Source package infos
NAMESRC=${NAMESRC:-vtk}
VERSION=${VERSION:-5.4.2}
VERSION=${VERSION:-5.8.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.vtk.org/files/release/5.4/$ARCHIVE}
WGET=${WGET:-http://www.vtk.org/files/release/5.8/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-vtk}
@ -92,8 +87,10 @@ CXXFLAGS=$CPUOPT \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DVTK_WRAP_TCL=ON \
-DVTK_WRAP_PYTHON=ON \
-DVTK_INSTALL_NO_PYTHON:BOOL=ON \
-DVTK_WRAP_JAVA=ON \
..
make
make install DESTDIR=$PKG

Loading…
Cancel
Save