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
|
|
|
|
2014-02-22 17:35:23 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "ee0099661cd70c241925a3e4209331b0a4a74758" => :mavericks
|
|
|
|
sha1 "d37da7d38ccd13121a94855bae7b9e93a10fc832" => :mountain_lion
|
|
|
|
sha1 "353a17e497893b956b3a6afc8b47911a70f4a537" => :lion
|
|
|
|
end
|
|
|
|
|
2012-10-05 08:06:24 +00:00
|
|
|
keg_only :provided_pre_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
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-08-17 13:19:09 +00:00
|
|
|
system "#{bin}/texi2html", "--help"
|
2012-08-14 22:19:55 +00:00
|
|
|
end
|
|
|
|
end
|