homebrew-core/Formula/rlwrap.rb
Caleb Land cef77edbb1 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
2009-10-20 14:18:52 -04:00

14 lines
381 B
Ruby

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