aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCaleb Land2009-10-20 14:18:52 -0400
committerCaleb Land2009-10-20 14:18:52 -0400
commitb3cf6c815caf1c08fde019087e6961afab4d9fca (patch)
tree5f1111ce3d731f3d736d82ec93da94990bd05634 /Library/Formula
parent3b82fd3332ca8341e5f2a9e3cf93751ece52354c (diff)
downloadhomebrew-b3cf6c815caf1c08fde019087e6961afab4d9fca.tar.bz2
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
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rlwrap.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/rlwrap.rb b/Library/Formula/rlwrap.rb
new file mode 100644
index 000000000..6175931b2
--- /dev/null
+++ b/Library/Formula/rlwrap.rb
@@ -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