2010-01-30 05:47:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Povray <Formula
|
|
|
|
url 'http://www.povray.org/ftp/pub/povray/Official/Unix/povray-3.6.1.tar.bz2'
|
|
|
|
homepage 'http://www.povray.org/'
|
|
|
|
md5 'b5789bb7eeaed0809c5c82d0efda571d'
|
|
|
|
|
2010-11-10 04:39:06 +00:00
|
|
|
depends_on 'libtiff' => :optional
|
|
|
|
depends_on 'jpeg' => :optional
|
|
|
|
|
2010-01-30 05:47:01 +00:00
|
|
|
def install
|
2010-06-16 18:50:36 +00:00
|
|
|
fails_with_llvm "llvm-gcc: povray fails with 'terminate called after throwing an instance of int'"
|
2010-02-05 15:12:48 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"COMPILED_BY=homebrew",
|
2010-11-10 04:39:06 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-01-30 05:47:01 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|