2014-05-26 14:49:33 +00:00
|
|
|
require "formula"
|
2013-02-15 19:53:14 +00:00
|
|
|
|
|
|
|
class Ctl < Formula
|
2014-05-26 14:49:33 +00:00
|
|
|
homepage "https://github.com/ampas/CTL"
|
|
|
|
url "https://github.com/ampas/CTL/archive/ctl-1.5.1.tar.gz"
|
|
|
|
sha1 "f0e611ffe8a5c36e5ef89cc7eab1ff4ab7f97875"
|
2013-02-15 19:53:14 +00:00
|
|
|
|
2014-05-26 14:49:33 +00:00
|
|
|
depends_on "cmake" => :build
|
|
|
|
depends_on "libtiff"
|
|
|
|
depends_on "ilmbase"
|
|
|
|
depends_on "openexr"
|
|
|
|
depends_on "aces_container"
|
2013-02-15 19:53:14 +00:00
|
|
|
|
|
|
|
def install
|
2014-05-26 14:49:33 +00:00
|
|
|
mkdir "build" do
|
|
|
|
system "cmake", "..", *std_cmake_args
|
|
|
|
system "make"
|
|
|
|
system "make", "check"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
2013-02-15 19:53:14 +00:00
|
|
|
end
|
|
|
|
end
|