homebrew-core/Formula/openexr.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

32 lines
742 B
Ruby

require 'formula'
class Openexr <Formula
url 'http://download.savannah.gnu.org/releases/openexr/openexr-1.6.1.tar.gz'
homepage 'http://www.openexr.com/'
md5 '11951f164f9c872b183df75e66de145a'
depends_on 'pkg-config'
depends_on 'ilmbase'
def patches
DATA
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
__END__
--- a/configure
+++ b/configure
@@ -21504,7 +21504,7 @@ Please re-run configure with these options:
CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
fi
- CXXFLAGS="$CXXFLAGS -Wno-long-double"
+ CXXFLAGS="$CXXFLAGS"
;;
esac