aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/tth.rb')
-rw-r--r--Library/Formula/tth.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/tth.rb b/Library/Formula/tth.rb
new file mode 100644
index 000000000..3a0f71278
--- /dev/null
+++ b/Library/Formula/tth.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Tth < Formula
+ url 'http://hutchinson.belmont.ma.us/tth/tth-noncom/tth_C.tgz'
+ homepage 'http://hutchinson.belmont.ma.us/tth/'
+ md5 '0c5ca8ecba950075f12c98bd9ae42087'
+ version '4.00'
+
+ def install
+ system 'gcc -Os -o tth tth.c'
+ bin.install %w(tth latex2gif ps2gif ps2png)
+ man1.install 'tth.1'
+ end
+end