2010-08-27 18:01:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-13 01:43:53 +00:00
|
|
|
class Ttytter < ScriptFileFormula
|
2011-09-27 07:44:44 +00:00
|
|
|
homepage 'http://www.floodgap.com/software/ttytter/'
|
2012-05-04 10:57:25 +00:00
|
|
|
url 'http://www.floodgap.com/software/ttytter/dist2/2.0.00.txt'
|
|
|
|
md5 '54a5dbd79f289d28f46e8f58fee0a6a1'
|
2010-08-27 18:01:46 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-04 10:57:25 +00:00
|
|
|
bin.install '2.0.00.txt' => 'ttytter'
|
2010-10-13 13:18:40 +00:00
|
|
|
end
|
2010-10-11 19:15:09 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
To take full advantage of readline features you must install readline:
|
2011-04-04 23:56:47 +00:00
|
|
|
brew install readline
|
|
|
|
|
2010-10-13 13:18:40 +00:00
|
|
|
and the Perl Module Term::ReadLine::TTYtter
|
2011-04-04 23:56:47 +00:00
|
|
|
cpan -i Term::ReadLine::TTYtter
|
|
|
|
|
2010-10-11 19:15:09 +00:00
|
|
|
Or if you have cpanminus:
|
2011-04-04 23:56:47 +00:00
|
|
|
cpanm Term::ReadLine::TTYtter
|
2010-10-11 19:15:09 +00:00
|
|
|
EOS
|
2010-08-27 18:01:46 +00:00
|
|
|
end
|
|
|
|
end
|