aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ctl.rb
blob: 91cff8cf207abaf95491d2e8e301feed5a25b90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require "formula"

class Ctl < Formula
  homepage "https://github.com/ampas/CTL"
  url "https://github.com/ampas/CTL/archive/ctl-1.5.1.tar.gz"
  sha1 "f0e611ffe8a5c36e5ef89cc7eab1ff4ab7f97875"

  depends_on "cmake" => :build
  depends_on "libtiff"
  depends_on "ilmbase"
  depends_on "openexr"
  depends_on "aces_container"

  def install
    mkdir "build" do
      system "cmake", "..", *std_cmake_args
      system "make"
      system "make", "check"
      system "make", "install"
    end
  end
end