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-10-22 16:27:40 +00:00
|
|
|
url 'http://www.floodgap.com/software/ttytter/dist2/2.0.04.txt'
|
|
|
|
sha1 'bbd2cca7430d339a53aa71a80fd9521e2932be5e'
|
2010-08-27 18:01:46 +00:00
|
|
|
|
|
|
|
def install
|
2012-10-22 16:27:40 +00:00
|
|
|
bin.install '2.0.04.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
|