aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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