aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ctl.rb
blob: 86e3009e81a5d79d4efedf0d4c53eb5d9f3a09fa (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.2.tar.gz"
  sha1 "2c4aff2d514eeadfac89c6f041d5ffa2e853a79d"

  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