homebrew-core/Formula/openexr.rb
Trevor Wennblom 4a3720c4b1 openexr 1.7.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-30 15:19:45 -07:00

23 lines
747 B
Ruby

require 'formula'
class Openexr < Formula
url 'http://download.savannah.gnu.org/releases/openexr/openexr-1.7.0.tar.gz'
homepage 'http://www.openexr.com/'
md5 '27113284f7d26a58f853c346e0851d7a'
# included for reference only - repository doesn't have 'configure' script
# head 'cvs://:pserver:anonymous@cvs.sv.gnu.org:/sources/openexr:OpenEXR'
depends_on 'pkg-config' => :build
depends_on 'ilmbase'
def install
# prevent 'cc1plus: error: unrecognized command line option "-Wno-long-double"'
inreplace 'configure', 'CXXFLAGS="$CXXFLAGS -Wno-long-double"', ''
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end