blob: ca161ba4aabb77cc8d8dcb808a16694bf8929550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
class Help2man < Formula
homepage "https://www.gnu.org/software/help2man/"
url "http://ftpmirror.gnu.org/help2man/help2man-1.46.5.tar.xz"
mirror "https://ftp.gnu.org/gnu/help2man/help2man-1.46.5.tar.xz"
sha256 "0ada23867183c5e779e06e6441801c5c74ff77af258e2f1bb5fce181fbc30ebf"
bottle do
cellar :any
sha1 "9da6d2c455736f4798fe0a61a5f3d36fdba7dcc1" => :yosemite
sha1 "82f41da658678b31550bd68a627530f777fb68c9" => :mavericks
sha1 "b58ab63750f1725c5daa4f5c5ad0b961d1fe2df4" => :mountain_lion
end
def install
# install is not parallel safe
# see https://github.com/Homebrew/homebrew/issues/12609
ENV.j1
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
cmd = "#{bin}/help2man #{bin}/help2man"
assert_match(/"help2man #{version}"/, shell_output(cmd))
end
end
|