2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-02 17:54:00 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ilmbase < Formula
|
2011-08-29 18:36:02 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/openexr/ilmbase-1.0.2.tar.gz'
|
2009-10-02 17:54:00 +00:00
|
|
|
homepage 'http://www.openexr.com/'
|
2011-08-29 18:36:02 +00:00
|
|
|
md5 '26c133ee8ca48e1196fbfb3ffe292ab4'
|
2009-10-02 17:54:00 +00:00
|
|
|
|
2011-08-29 18:36:02 +00:00
|
|
|
# included for reference only - repository doesn't have 'configure' script
|
|
|
|
# head 'cvs://:pserver:anonymous@cvs.sv.gnu.org:/sources/openexr:IlmBase'
|
2009-10-02 17:54:00 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
def install
|
2011-08-29 18:36:02 +00:00
|
|
|
# prevent 'cc1plus: error: unrecognized command line option "-Wno-long-double"'
|
|
|
|
inreplace 'configure', 'CXXFLAGS="$CXXFLAGS -Wno-long-double"', ''
|
|
|
|
|
2009-10-02 17:54:00 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|