aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/texi2html.rb
blob: b7b53ffc057e843e3bd3428e3254d1a4996d249b (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
require 'formula'

class Texi2html < Formula
  homepage 'http://www.nongnu.org/texi2html/'
  url 'http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz'
  sha1 'e7bbe1197147566250abd5c456b94c8e37e0a81f'

  bottle do
    revision 1
    sha1 "8a7d68b823f65d99cc3946b54f5cb58daeda2674" => :yosemite
    sha1 "0131f620ee0369d1bfb0beb9cf98ff42b43bee61" => :mavericks
    sha1 "2eefa2d9e010b7e6e9d67e2e847fa6d5ae9c9983" => :mountain_lion
  end

  keg_only :provided_pre_mountain_lion

  def install
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}",
                          "--mandir=#{man}", "--infodir=#{info}"
    system "make install"
  end

  test do
    system "#{bin}/texi2html", "--help"
  end
end