From 127bac7deb59d617a04a5d0a8d6bcd18b9b88e3c Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Sun, 10 Jul 2011 18:02:03 +0800 Subject: TTH 4.0.0 TTH translates TEX into HTML Signed-off-by: Adam Vandenberg --- Library/Formula/tth.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Library/Formula/tth.rb (limited to 'Library/Formula/tth.rb') 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 -- cgit v1.2.3