homebrew-core/Formula/argyll-cms.rb

32 lines
980 B
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.8.2_src.zip"
version "1.8.2"
sha256 "59bdfaeace35d2007c90fc53234ba33bf8a64cffc08f7b27a297fc5f85455377"
2014-08-27 20:27:22 +00:00
bottle do
cellar :any
2015-09-20 11:55:33 +00:00
sha256 "ef22744d8bc625c0add4604e2cfbf4fec94734d8abe1382812099ec85353dc0d" => :el_capitan
sha256 "9988670d522fba259ab47efe710987fec598e208c6255b489a5cbc7ac40681a3" => :yosemite
sha256 "924c116ab58fc4267d9e8059e22d337c32e47535bba7648360c9dbaaa7a6c1ea" => :mavericks
end
depends_on "jam" => :build
depends_on "jpeg"
depends_on "libtiff"
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