2014-08-27 20:27:22 +00:00
|
|
|
class ArgyllCms < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "ICC compatible color management system"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://www.argyllcms.com/"
|
2015-09-20 11:01:11 +00:00
|
|
|
url "http://www.argyllcms.com/Argyll_V1.8.2_src.zip"
|
|
|
|
version "1.8.2"
|
|
|
|
sha256 "59bdfaeace35d2007c90fc53234ba33bf8a64cffc08f7b27a297fc5f85455377"
|
2014-08-27 20:27:22 +00:00
|
|
|
|
2014-08-27 23:31:08 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-09-20 11:55:33 +00:00
|
|
|
sha256 "ef22744d8bc625c0add4604e2cfbf4fec94734d8abe1382812099ec85353dc0d" => :el_capitan
|
|
|
|
sha256 "9988670d522fba259ab47efe710987fec598e208c6255b489a5cbc7ac40681a3" => :yosemite
|
|
|
|
sha256 "924c116ab58fc4267d9e8059e22d337c32e47535bba7648360c9dbaaa7a6c1ea" => :mavericks
|
2014-08-27 23:31:08 +00:00
|
|
|
end
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "jam" => :build
|
|
|
|
depends_on "jpeg"
|
|
|
|
depends_on "libtiff"
|
2014-08-27 20:27:22 +00:00
|
|
|
|
2015-11-01 22:13:08 +00:00
|
|
|
conflicts_with "num-utils", :because => "both install `average` binaries"
|
|
|
|
|
2014-08-27 20:27:22 +00:00
|
|
|
def install
|
|
|
|
system "sh", "makeall.sh"
|
|
|
|
system "./makeinstall.sh"
|
|
|
|
rm "bin/License.txt"
|
|
|
|
prefix.install "bin", "ref", "doc"
|
|
|
|
end
|
2015-08-06 18:29:14 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"targen", "-d", "0", "test.ti1"
|
|
|
|
system bin/"printtarg", testpath/"test.ti1"
|
|
|
|
%w[test.ti1.ps test.ti1.ti1 test.ti1.ti2].each { |f| File.exist? f }
|
|
|
|
end
|
2014-08-27 20:27:22 +00:00
|
|
|
end
|