New formula: dcmtk
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
8a65dffd90
commit
1a89a950f5
1 changed files with 27 additions and 0 deletions
27
Formula/dcmtk.rb
Normal file
27
Formula/dcmtk.rb
Normal file
|
@ -0,0 +1,27 @@
|
|||
require 'formula'
|
||||
|
||||
class Dcmtk <Formula
|
||||
url 'ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/dcmtk-3.5.4.tar.gz'
|
||||
homepage 'http://dicom.offis.de/dcmtk.php.en'
|
||||
md5 '0afd971cdf976a5b336722ef2f68e6d7'
|
||||
|
||||
depends_on 'jpeg'
|
||||
depends_on 'libpng'
|
||||
depends_on 'libtiff'
|
||||
depends_on 'libxml2'
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
ENV.m64 if snow_leopard_64?
|
||||
|
||||
system "./configure", "--disable-dependency-tracking", "--disable-debug",
|
||||
"--prefix=#{prefix}",
|
||||
"--mandir=#{man}",
|
||||
"--disable-threads",
|
||||
"--with-libtiffinc",
|
||||
"--with-libpnginc",
|
||||
"--with-libxmlinc"
|
||||
system "make all"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue