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
|
2011-08-29 19:10:21 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/openexr/openexr-1.7.0.tar.gz'
|
2009-10-02 17:56:31 +00:00
|
|
|
homepage 'http://www.openexr.com/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '91d0d4e69f06de956ec7e0710fc58ec0d4c4dc2b'
|
2011-08-29 19:10:21 +00:00
|
|
|
|
|
|
|
# included for reference only - repository doesn't have 'configure' script
|
|
|
|
# head 'cvs://:pserver:anonymous@cvs.sv.gnu.org:/sources/openexr:OpenEXR'
|
2009-10-02 17:56:31 +00:00
|
|
|
|
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 install
|
2011-08-29 19:10:21 +00:00
|
|
|
# prevent 'cc1plus: error: unrecognized command line option "-Wno-long-double"'
|
|
|
|
inreplace 'configure', 'CXXFLAGS="$CXXFLAGS -Wno-long-double"', ''
|
|
|
|
|
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
|
|
|
|
|