Skip to content

Commit

Permalink
VTK: Update to 5.8.0
Browse files Browse the repository at this point in the history
Closes Homebrew#7531.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
  • Loading branch information
bilke authored and martinploeger committed Oct 8, 2011
1 parent 857e9ef commit 9987971
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Library/Formula/vtk.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
require 'formula'

class Vtk < Formula
url 'http://www.vtk.org/files/release/5.6/vtk-5.6.1.tar.gz'
url 'http://www.vtk.org/files/release/5.8/vtk-5.8.0.tar.gz'
homepage 'http://www.vtk.org'
md5 'b80a76435207c5d0f74dfcab15b75181'
md5 '37b7297d02d647cc6ca95b38174cb41f'

depends_on 'cmake' => :build
depends_on 'qt' if ARGV.include? '--qt'
Expand All @@ -17,11 +17,6 @@ def options
]
end

def patches
# fixes compilation issue on Mac OS X 10.7
"http://vtk.org/gitweb?p=VTK.git;a=patch;h=70db254a59c18a5e565c3232813dc821bb337563;hp=0c5990f503fe8f6e5f1a07b85b804dcc4262a6ed"
end

def install
args = std_cmake_parameters.split + [
"-DVTK_REQUIRED_OBJCXX_FLAGS:STRING=''",
Expand All @@ -30,8 +25,8 @@ def install
"-DBUILD_TESTING:BOOL=OFF",
"-DBUILD_EXAMPLES:BOOL=OFF",
"-DBUILD_SHARED_LIBS:BOOL=ON",
"-DCMAKE_INSTALL_RPATH:STRING='#{lib}/vtk-5.6'",
"-DCMAKE_INSTALL_NAME_DIR:STRING='#{lib}/vtk-5.6'"]
"-DCMAKE_INSTALL_RPATH:STRING='#{lib}/vtk-5.8'",
"-DCMAKE_INSTALL_NAME_DIR:STRING='#{lib}/vtk-5.8'"]

if ARGV.include? '--python'
python_prefix = `python-config --prefix`.strip
Expand Down

0 comments on commit 9987971

Please sign in to comment.