homebrew-core/Formula/tth.rb
Jack Nagel 6b0f64e8b4 Use ENV.cc and ENV.cxx where appropriate
Cursory testing shows that these all build with llvm and those that have
binaries work. Formulae should be marked 'fails_with_llvm' if there are
issues found later.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-09 17:50:34 -06:00

14 lines
346 B
Ruby

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 "#{ENV.cc} -o tth tth.c"
bin.install %w(tth latex2gif ps2gif ps2png)
man1.install 'tth.1'
end
end