require 'formula' class Povray :optional depends_on 'jpeg' => :optional def install fails_with_llvm "llvm-gcc: povray fails with 'terminate called after throwing an instance of int'" system "./configure", "--disable-debug", "--disable-dependency-tracking", "COMPILED_BY=homebrew", "--prefix=#{prefix}", "--mandir=#{man}" system "make install" end end