homebrew-core/Formula/argyll-cms.rb

34 lines
1 KiB
Ruby
Raw Normal View History

2014-08-27 20:27:22 +00:00
class ArgyllCms < Formula
desc "ICC compatible color management system"
homepage "http://www.argyllcms.com/"
url "http://www.argyllcms.com/Argyll_V1.9.2_src.zip"
version "1.9.2"
sha256 "4d61ae0b91686dea721d34df2e44eaf36c88da87086fd50ccc4e999a58e9ce90"
2014-08-27 20:27:22 +00:00
bottle do
cellar :any
2016-12-05 02:31:11 +00:00
sha256 "16e9c9b366d2d7838969c8fa519a954babba3b2c7ef329aa629d077634a19484" => :sierra
sha256 "f7d42ad6d64cd3af91453f6f559ce06ea9c6ca7345d1658cdd9723c8c9fd0d12" => :el_capitan
sha256 "bc9c7469986602c65e7229c6bc8059ce0e133f507c873fc5e146bf27f2807ece" => :yosemite
end
depends_on "jam" => :build
depends_on "jpeg"
depends_on "libtiff"
2014-08-27 20:27:22 +00:00
conflicts_with "num-utils", :because => "both install `average` binaries"
2015-11-01 22:13:08 +00:00
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
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