aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorVykook2011-10-26 10:29:07 +0200
committerAdam Vandenberg2012-02-04 17:35:07 -0800
commit0ac353801423ba223935984ce43c6f916866089f (patch)
treec4497917545c94e43eff8d03e215b1e7b872dcce /Library/Formula
parentd831fd09a973b4ae6cf8db7575009e252dd83d7f (diff)
downloadhomebrew-0ac353801423ba223935984ce43c6f916866089f.tar.bz2
rc 1.7.2
rc is based on the shell from Plan 9 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rc.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/rc.rb b/Library/Formula/rc.rb
new file mode 100644
index 000000000..ce2fe9f04
--- /dev/null
+++ b/Library/Formula/rc.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Rc < Formula
+ url 'ftp://rc.quanstro.net/pub/rc-1.7.2.tgz'
+ homepage 'http://doc.cat-v.org/plan_9/4th_edition/papers/rc'
+ md5 '4a85e4b4e3a0a5d3803109c5b2dce710'
+
+ def install
+ system "./configure","--prefix=#{prefix}", "--mandir=#{man}", "--with-editline"
+ system "make"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/rc -c 'echo $*' Hello!"
+ end
+end