diff options
| author | dinkypumpkin | 2011-03-04 14:22:38 +0000 | 
|---|---|---|
| committer | Adam Vandenberg | 2011-03-14 15:35:23 -0700 | 
| commit | e255210be8c2aeddcc7a48e657a39e026f815e11 (patch) | |
| tree | 70f38bb185d738e4723742c75d26d16c4fe00efd /Library | |
| parent | 1d81e5b2b5ef68d10c411f630c4ea8bb109acecc (diff) | |
| download | homebrew-e255210be8c2aeddcc7a48e657a39e026f815e11.tar.bz2 | |
dcmtk: added --install-all option
The "--install-all" option also installs the developer
documentation and header files.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/dcmtk.rb | 12 | 
1 files changed, 10 insertions, 2 deletions
diff --git a/Library/Formula/dcmtk.rb b/Library/Formula/dcmtk.rb index 19185e36f..54ab499e6 100644 --- a/Library/Formula/dcmtk.rb +++ b/Library/Formula/dcmtk.rb @@ -4,9 +4,13 @@ class Dcmtk < Formula    homepage 'http://dicom.offis.de/dcmtk.php.en'    url 'ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk360/dcmtk-3.6.0.tar.gz'    md5 '19409e039e29a330893caea98715390e' -  version '3.6.0'    depends_on 'libtiff' +  depends_on 'doxygen' if ARGV.include? '--install-all' + +  def options +    [['--install-all', 'Install development libraries/headers and HTML docs']] +  end    def install      ENV.deparallelize @@ -16,6 +20,10 @@ class Dcmtk < Formula                            "--prefix=#{prefix}",                            "--disable-threads"      system "make all" -    system "make install" +    if ARGV.include? '--install-all' +      system "make install-all" +    else +      system "make install" +    end    end  end  | 
