homebrew-core/Formula/rc.rb

20 lines
466 B
Ruby
Raw Normal View History

require 'formula'
class Rc < Formula
homepage 'http://doc.cat-v.org/plan_9/4th_edition/papers/rc'
2013-01-28 05:28:49 +00:00
url 'ftp://rc.quanstro.net/pub/rc-1.7.2.tgz'
sha1 '9e51d99677244af1768ff8dd2cbac4ac162350c1'
def install
2013-01-28 05:28:49 +00:00
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}",
"--with-editline"
system "make"
system "make install"
end
def test
system "#{bin}/rc", "-c", "echo Hello!"
end
end