aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-08-14 17:19:55 -0500
committerMisty De Meo2012-08-15 08:21:05 -0500
commit047b1158b99d9b93f1ebcb4e0dcbfe9f254e0dc3 (patch)
tree33d3af502a4306ee9a936a9e72ef6d71f79d1851 /Library
parentec77845bf6e028bfd257370abbb8c506bae71ee5 (diff)
downloadhomebrew-047b1158b99d9b93f1ebcb4e0dcbfe9f254e0dc3.tar.bz2
New formula: texi2html
This is no longer shipped as of 10.8, but is required to build the documentation for a few formulae, like ffmpeg and ffmbc. This wasn't given a symbolized dependency because I don't anticipate it coming up that often.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/texi2html.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/texi2html.rb b/Library/Formula/texi2html.rb
new file mode 100644
index 000000000..f2fe7ff02
--- /dev/null
+++ b/Library/Formula/texi2html.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class Texi2html < Formula
+ homepage 'http://www.nongnu.org/texi2html/'
+ url 'http://download.savannah.gnu.org/releases/texi2html/texi2html-5.0.tar.bz2'
+ sha1 '20072444ce814d0e74fd7e467d1506908f8c889c'
+
+ keg_only :provided_by_osx unless MacOS.mountain_lion?
+
+ def install
+ # The install-sh, used if ginstall is not present, isn't executable!
+ chmod 0744, "install-sh"
+
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "texi2html", "--help"
+ end
+end