Openexr formula
OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.
This commit is contained in:
parent
4e942be300
commit
0878373c99
1 changed files with 35 additions and 0 deletions
35
Formula/openexr.rb
Normal file
35
Formula/openexr.rb
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
require 'brewkit'
|
||||||
|
|
||||||
|
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 'ilmbase'
|
||||||
|
depends_on 'pkg-config'
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue