aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/povray.rb
blob: ae9fd82be695c607f1b3c721a4b4921830a7120b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
    # llvm-gcc: povray fails with 'terminate called after throwing an instance of int'
    ENV.gcc_4_2

    system "./configure", "COMPILED_BY=homebrew", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system "make install"
  end
end