require 'formula' class Openexr < Formula homepage 'http://www.openexr.com/' url 'http://download.savannah.gnu.org/releases/openexr/openexr-2.1.0.tar.gz' sha1 '4a3db5ea527856145844556e0ee349f45ed4cbc7' bottle do cellar :any revision 1 sha1 "be055103cf96edbd87f01d200ae97365a13dfd33" => :yosemite sha1 "5263df7bfe3a4a6c5e8c21aaa9d1a49cad666e3d" => :mavericks sha1 "f32df24d8a0c74d0b8e53b9e0e15d60dceaf0b6a" => :mountain_lion end # included for reference only - repository doesn't have 'configure' script # head 'cvs://:pserver:anonymous@cvs.sv.gnu.org:/sources/openexr:OpenEXR' depends_on 'pkg-config' => :build depends_on 'ilmbase' def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end