aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/dcmtk.rb
blob: 46f1d012b9963690a4adae9ceb5ce554055e9e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'formula'

class Dcmtk <Formula
  homepage 'http://dicom.offis.de/dcmtk.php.en'
  url 'http://dicom.offis.de/download/dcmtk/snapshot/old/dcmtk-3.5.5_20100903.tar.gz'
  md5 '15a8f05a8035bcf7d18ab475b95c9163'
  version '3.5.5_20100903'

  depends_on 'libtiff'

  def install
    ENV.deparallelize
    ENV.m64 if snow_leopard_64?
    ENV.x11
    system "./configure", "--disable-dependency-tracking", "--disable-debug",
                          "--prefix=#{prefix}",
                          "--disable-threads"
    system "make all"
    system "make install"
  end
end