add formula for rlwrap

rlwrap wraps another command giving it readline editing ability.

This is useful for interactive programs like clojure which don't provide readline support.

http://en.wikibooks.org/wiki/Clojure_Programming/Getting_Started#Enhancing_Clojure_REPL_with_rlwrap
This commit is contained in:
Caleb Land 2009-10-20 14:18:52 -04:00
parent fea3ed0d28
commit cef77edbb1

14
Formula/rlwrap.rb Normal file
View file

@ -0,0 +1,14 @@
require 'formula'
class Rlwrap <Formula
url 'http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.32.tar.gz'
homepage 'http://utopia.knoware.nl/~hlub/uck/rlwrap'
md5 '441282a9a65c1d516c1c9a6821184539'
depends_on 'readline'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end