2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-02 17:56:31 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Openexr < Formula
|
2009-10-02 17:56:31 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/openexr/openexr-1.6.1.tar.gz'
|
|
|
|
homepage 'http://www.openexr.com/'
|
|
|
|
md5 '11951f164f9c872b183df75e66de145a'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
New formula: openimageio HEAD
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!
2010-04-05 12:44:13 +00:00
|
|
|
depends_on 'ilmbase'
|
2009-10-02 17:56:31 +00:00
|
|
|
|
|
|
|
def patches
|
|
|
|
DATA
|
|
|
|
end
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2009-10-02 17:56:31 +00:00
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-10-02 17:56:31 +00:00
|
|
|
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
|