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>
This commit is contained in:
parent
ce4f650518
commit
8ad4109650
1 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue