2012-08-14 22:19:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Texi2html < Formula
|
|
|
|
homepage 'http://www.nongnu.org/texi2html/'
|
2012-09-12 22:05:15 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz'
|
|
|
|
sha1 'e7bbe1197147566250abd5c456b94c8e37e0a81f'
|
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
|