homebrew-core/Formula/pbrt.rb

15 lines
354 B
Ruby

class Pbrt < Formula
desc "Physically based rendering"
homepage "http://pbrt.org/"
url "https://github.com/mmp/pbrt-v2/archive/2.0.342.tar.gz"
sha256 "397941435d4b217cd4a4adaca12ab6add9a960d46984972f259789d1462fb6d5"
depends_on "openexr"
depends_on "flex"
def install
system "make", "-C", "src"
prefix.install "src/bin"
end
end