27 lines
791 B
Ruby
27 lines
791 B
Ruby
require 'formula'
|
|
|
|
class Texi2html < Formula
|
|
desc "Convert TeXinfo files to HTML"
|
|
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
|