diff options
Diffstat (limited to 'Library/Formula/insighttoolkit.rb')
| -rw-r--r-- | Library/Formula/insighttoolkit.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Library/Formula/insighttoolkit.rb b/Library/Formula/insighttoolkit.rb deleted file mode 100644 index c83c0e12c..000000000 --- a/Library/Formula/insighttoolkit.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'formula' - -class Insighttoolkit < Formula - homepage 'http://www.itk.org' - url 'http://sourceforge.net/projects/itk/files/itk/4.3/InsightToolkit-4.3.1.tar.gz' - sha1 '85375a316dd39f7f70dee5a2bd022f768db28eeb' - - head 'git://itk.org/ITK.git' - - option 'examples', 'Compile and install various examples' - option 'with-opencv-bridge', 'Include OpenCV bridge' - - depends_on 'cmake' => :build - - def install - args = std_cmake_args + %W[ - -DBUILD_TESTING=OFF - -DBUILD_SHARED_LIBS=ON - ] - args << ".." - args << '-DBUILD_EXAMPLES=' + ((build.include? 'examples') ? 'ON' : 'OFF') - args << '-DModule_ITKVideoBridgeOpenCV=' + ((build.include? 'with-opencv-bridge') ? 'ON' : 'OFF') - - mkdir 'itk-build' do - system "cmake", *args - system "make install" - end - end -end |
