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"
|
2014-06-05 21:57:29 +00:00
|
|
|
url "https://github.com/ampas/CTL/archive/ctl-1.5.2.tar.gz"
|
|
|
|
sha1 "2c4aff2d514eeadfac89c6f041d5ffa2e853a79d"
|
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
|