88779ade49
Closes Homebrew/homebrew#14653.
23 lines
756 B
Ruby
23 lines
756 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/'
|
|
sha1 '91d0d4e69f06de956ec7e0710fc58ec0d4c4dc2b'
|
|
|
|
# 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
|
|
|