homebrew-core/Formula/ctl.rb
2015-03-13 22:48:13 -07:00

29 lines
833 B
Ruby

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"
bottle do
sha256 "860d6ce8218cf26830ac61327c45d862df1dd33b58996278d37341b34c8062e6" => :yosemite
sha256 "ed30b61d129d781b395fde6b0d925ad01d6bd5f64220c54c04d7971b20ae9663" => :mavericks
sha256 "ff805ef59d8958823c8eab7b0dab86eddc923d37493874ac4b6ec2908f1b348b" => :mountain_lion
end
depends_on "cmake" => :build
depends_on "libtiff"
depends_on "ilmbase"
depends_on "openexr"
depends_on "aces_container"
def install
ENV.delete "CTL_MODULE_PATH"
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make"
system "make", "check"
system "make", "install"
end
end
end