2014-05-26 14:49:33 +00:00
|
|
|
require "formula"
|
2013-02-15 19:53:14 +00:00
|
|
|
|
|
|
|
class Ctl < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Programming language for digital color management"
|
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
|
|
|
|
2015-03-12 13:33:02 +00:00
|
|
|
bottle do
|
|
|
|
sha256 "860d6ce8218cf26830ac61327c45d862df1dd33b58996278d37341b34c8062e6" => :yosemite
|
|
|
|
sha256 "ed30b61d129d781b395fde6b0d925ad01d6bd5f64220c54c04d7971b20ae9663" => :mavericks
|
|
|
|
sha256 "ff805ef59d8958823c8eab7b0dab86eddc923d37493874ac4b6ec2908f1b348b" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
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
|
2015-03-12 12:52:54 +00:00
|
|
|
ENV.delete "CTL_MODULE_PATH"
|
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
|