2012-08-14 22:19:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Texi2html < Formula
|
|
|
|
homepage 'http://www.nongnu.org/texi2html/'
|
2012-08-17 13:19:09 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/texi2html/texi2html-1.70.tar.gz'
|
|
|
|
sha1 'b3472fb5ef80824177a56a1a37983c13497b23be'
|
2012-08-14 22:19:55 +00:00
|
|
|
|
2012-09-05 04:04:01 +00:00
|
|
|
keg_only :provided_by_osx unless MacOS.version >= :mountain_lion
|
2012-08-14 22:19:55 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-17 13:28:55 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}", "--infodir=#{info}"
|
2012-08-14 22:19:55 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-08-17 13:19:09 +00:00
|
|
|
system "#{bin}/texi2html", "--help"
|
2012-08-14 22:19:55 +00:00
|
|
|
end
|
|
|
|
end
|