New formula: Pbrt 2.0 #15410

Closed
wants to merge 1 commit into
from
+19 −0
View
19 Library/Formula/pbrt.rb
@@ -0,0 +1,19 @@
+require "formula"
+
+class Pbrt < Formula
+ homepage "http://pbrt.org/"
+ url "http://githubredir.debian.net/github/mmp/pbrt-v2/2.0.334.tar.gz"
+ sha1 "a5d1324f3ab9072bd6a88fee3cbc0c153bbb50eb"
+
+ depends_on "openexr"
+
+ def install
+ cd "src" do
+ system "make"
+
+ cd "bin" do
+ bin.install "bsdftest", "exravg", "exrdiff", "pbrt"
+ end
+ end
+ end
+end