homebrew-core/Formula/ilmbase.rb

18 lines
542 B
Ruby
Raw Normal View History

require 'formula'
2009-10-02 17:54:00 +00:00
2011-03-10 05:11:03 +00:00
class Ilmbase < Formula
2009-10-02 17:54:00 +00:00
homepage 'http://www.openexr.com/'
2013-01-28 04:52:32 +00:00
url 'http://download.savannah.gnu.org/releases/openexr/ilmbase-1.0.2.tar.gz'
sha1 'fe6a910a90cde80137153e25e175e2b211beda36'
2009-10-02 17:54:00 +00:00
def install
# prevent 'cc1plus: error: unrecognized command line option "-Wno-long-double"'
inreplace 'configure', 'CXXFLAGS="$CXXFLAGS -Wno-long-double"', ''
2013-01-28 04:52:32 +00:00
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2009-10-02 17:54:00 +00:00
system "make install"
end
end