aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/help2man.rb
blob: d315b66ff2a55bbd6cc3a839df961ebd201fe8cd (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
require "formula"

class Help2man < Formula
  homepage "http://www.gnu.org/software/help2man/"
  url "http://ftpmirror.gnu.org/help2man/help2man-1.46.1.tar.xz"
  mirror "http://ftp.gnu.org/gnu/help2man/help2man-1.46.1.tar.xz"
  sha256 "3dfd02a026149aad06887c1cb6062471779c100e00aecb79b8f9d01cf1581c47"

  bottle do
    cellar :any
    sha1 "13acec14f0cdf3de9c31faae953241f53da2ac0e" => :mavericks
    sha1 "e859195d7c051c7b7f87b59f77c046029d07773c" => :mountain_lion
    sha1 "67b0b7d57eba0b132aad6c79d1a4597d09667364" => :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
end