aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/texi2html.rb
blob: 95ac23fcb014c28d7349b5f4060c5f0b688b7e44 (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
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
    sha1 "ee0099661cd70c241925a3e4209331b0a4a74758" => :mavericks
    sha1 "d37da7d38ccd13121a94855bae7b9e93a10fc832" => :mountain_lion
    sha1 "353a17e497893b956b3a6afc8b47911a70f4a537" => :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