7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
16 lines
528 B
Ruby
16 lines
528 B
Ruby
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'
|
|
|
|
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}"
|
|
system "make install"
|
|
end
|
|
end
|