15cc068a95
OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications. Depends on cmake, ilmbase, openexr, boost Optionally depends on libpng, libtiff, libjpeg, jasper, qt, glew Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Updates to get it working; please improve if you can!
33 lines
770 B
Ruby
33 lines
770 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", "--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking"
|
|
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
|