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-02-09 08:43:48 +00:00
|
|
|
url 'http://www.floodgap.com/software/ttytter/dist1/1.2.05.txt'
|
|
|
|
md5 '8d0e3a65b1ffb91983efcd6351414c81'
|
2010-08-27 18:01:46 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-09 08:43:48 +00:00
|
|
|
bin.install '1.2.05.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
|