homebrew-core/Formula/catimg.rb

26 lines
857 B
Ruby
Raw Normal View History

class Catimg < Formula
desc "Insanely fast image printing in your terminal"
homepage "https://github.com/posva/catimg"
url "https://github.com/posva/catimg/archive/v2.3.2.tar.gz"
sha256 "295ef6581805bacee438f2f396ebae6eb5b42cfbf60b18d94f7efa5e11d5e858"
head "https://github.com/posva/catimg.git"
2015-12-06 18:13:55 +00:00
bottle do
cellar :any_skip_relocation
2017-04-18 15:28:11 +00:00
sha256 "6d8ab22fd51467aa6954cce4133006e36b50d4cdfe33beab20f3fe6d10e95861" => :sierra
sha256 "4e665f7c1a4ecfd7e1950d6c356dfed8f92d0ab96b27042d5160997e2b019f9a" => :el_capitan
sha256 "2bbd68a3e61450ce10e98e0ab3be0b79bc7246afec39a64b17b2397febab904b" => :yosemite
2015-12-06 18:13:55 +00:00
end
depends_on "cmake" => :build
def install
system "cmake", "-DMAN_OUTPUT_PATH=#{man1}", ".", *std_cmake_args
system "make", "install"
end
test do
system "#{bin}/catimg", test_fixtures("test.png")
end
end