rc: use sha256

Closes Homebrew/homebrew#40213.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
Baptiste Fontaine 2015-05-30 13:28:18 +02:00
parent 374e58dad1
commit 2c466fda13

View file

@ -1,16 +1,14 @@
require 'formula'
class Rc < Formula class Rc < Formula
homepage 'http://doc.cat-v.org/plan_9/4th_edition/papers/rc' homepage "http://doc.cat-v.org/plan_9/4th_edition/papers/rc"
url 'ftp://rc.quanstro.net/pub/rc-1.7.2.tgz' url "ftp://rc.quanstro.net/pub/rc-1.7.2.tgz"
sha1 '9e51d99677244af1768ff8dd2cbac4ac162350c1' sha256 "89487c6c9f5ad0fdae658bf9564f6e920935bbdeabf63abdbf69b7c46f7ee40c"
def install def install
system "./configure", "--prefix=#{prefix}", system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}", "--mandir=#{man}",
"--with-editline" "--with-editline"
system "make" system "make"
system "make install" system "make", "install"
end end
test do test do