homebrew-core/Formula/help2man.rb

29 lines
1 KiB
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Help2man < Formula
desc "Automatically generate simple man pages"
homepage "https://www.gnu.org/software/help2man/"
2016-07-02 20:59:53 +00:00
url "https://ftpmirror.gnu.org/help2man/help2man-1.47.4.tar.xz"
mirror "https://ftp.gnu.org/gnu/help2man/help2man-1.47.4.tar.xz"
sha256 "d4ecf697d13f14dd1a78c5995f06459bff706fd1ce593d1c02d81667c0207753"
2010-02-07 20:18:02 +00:00
2014-06-09 16:05:56 +00:00
bottle do
2015-09-20 12:05:54 +00:00
cellar :any_skip_relocation
2016-09-17 03:08:24 +00:00
sha256 "0b3480705ebb76f26f4d92a19896f298d48b7e156dd756af387ebd78b7a84eb9" => :sierra
2016-06-19 17:34:48 +00:00
sha256 "1ce372ea4da79821e251a867c380232a036569d5e05ab8734ca52bd25b9ff3bb" => :el_capitan
sha256 "b52243aae3f9552873d6a0befa2158c116993560719b7aada59dbafb2cdf281d" => :yosemite
sha256 "d63079ec5272bb4d5be4c244ffa36af7ddbcb0fd738e2acfb657b8268b932c05" => :mavericks
2014-06-09 16:05:56 +00:00
end
2010-02-07 20:18:02 +00:00
def install
# install is not parallel safe
# see https://github.com/Homebrew/homebrew/issues/12609
2016-12-19 17:24:52 +00:00
ENV.deparallelize
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match "help2man #{version}", shell_output("#{bin}/help2man #{bin}/help2man")
2010-02-07 20:18:02 +00:00
end
end