26 lines
918 B
Ruby
26 lines
918 B
Ruby
class Stdman < Formula
|
|
desc "Formatted C++11/14/17 stdlib man pages from cppreference.com"
|
|
homepage "https://github.com/jeaye/stdman"
|
|
url "https://github.com/jeaye/stdman/archive/2017.04.02.tar.gz"
|
|
sha256 "64f33e843c646de54745f234df7688df400a6f65f738408406cb48bcae2c852d"
|
|
version_scheme 1
|
|
head "https://github.com/jeaye/stdman.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "b396f3795d2a23c268b96be6b54d96b3ebbcd31724fc9290cf4d207342ae3b3d" => :high_sierra
|
|
sha256 "e331f279e0e88fc136531b0a0bdece2dfee271c6ab96f2047e51a34651f37ac1" => :sierra
|
|
sha256 "8f40d671b1f63facc15c957ddb6eb1a58332bf13e68eef888175948017e79386" => :el_capitan
|
|
sha256 "2b137b92e15bf5941697df2f6fab98a8e030024bbbb0ddc5864f2bbb076f6223" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "man", "-w", "std::string"
|
|
end
|
|
end
|