2016-09-08 21:40:24 +00:00
|
|
|
class Tldr < Formula
|
|
|
|
desc "Simplified and community-driven man pages"
|
|
|
|
homepage "https://tldr-pages.github.io"
|
|
|
|
url "https://github.com/tldr-pages/tldr-cpp-client/archive/v1.3.0.tar.gz"
|
|
|
|
sha256 "6210ece3f5d8f8e55b404e2f6c84be50bfdde9f0d194a271bce751a3ed6141be"
|
|
|
|
head "https://github.com/tldr-pages/tldr-cpp-client.git"
|
|
|
|
|
2016-09-12 13:26:57 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "3f98b7a5abcf565a4bce8c674b1f8d0ac5f79075a96f8695eab627a162b8154b" => :el_capitan
|
|
|
|
sha256 "9124b5e08e84aaf28cefb7a13ca37c969eb42edb3801ad73c6cb0e9a9092bc49" => :yosemite
|
|
|
|
sha256 "6087f487eb4de38affd318f610b95af55724624ea376ba0010e451f2bffc82bd" => :mavericks
|
|
|
|
end
|
|
|
|
|
2016-09-08 21:40:24 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "libzip"
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match "brew", shell_output("#{bin}/tldr brew")
|
|
|
|
end
|
|
|
|
end
|