require 'formula' class Texapp < Formula homepage 'http://www.floodgap.com/software/texapp/' url 'http://www.floodgap.com/software/texapp/dist0/0.6.05.txt' sha1 '146ab03cf669e1c73fed577c7b5f6922b44fb55b' def install bin.install "#{version}.txt" => "texapp" end def caveats; <<-EOS.undent To take full advantage of readline features you must install readline: brew install readline and the Perl Module Term::ReadLine::TTYtter cpan -i Term::ReadLine::TTYtter Or if you have cpanminus: cpanm Term::ReadLine::TTYtter EOS end end