rush: basic test added
Closes Homebrew/homebrew#37571. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
896a939119
commit
f8192020af
1 changed files with 11 additions and 8 deletions
|
@ -1,14 +1,17 @@
|
||||||
require 'formula'
|
|
||||||
|
|
||||||
class Rush < Formula
|
class Rush < Formula
|
||||||
homepage 'http://www.gnu.org/software/rush/'
|
homepage "https://www.gnu.org/software/rush/"
|
||||||
url 'http://ftpmirror.gnu.org/rush/rush-1.7.tar.gz'
|
url "http://ftpmirror.gnu.org/rush/rush-1.7.tar.gz"
|
||||||
mirror 'http://ftp.gnu.org/gnu/rush/rush-1.7.tar.gz'
|
mirror "https://ftp.gnu.org/gnu/rush/rush-1.7.tar.gz"
|
||||||
sha1 'f886eaf093332a8b8503afcf8ca2acff7eea7191'
|
sha256 "35077fa36902fd451db52b49bf059992a20cc8ea031437171f384670d77a003a"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
system "./configure", "--disable-debug",
|
||||||
|
"--disable-dependency-tracking",
|
||||||
"--prefix=#{prefix}"
|
"--prefix=#{prefix}"
|
||||||
system "make install"
|
system "make", "install"
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
system "#{sbin}/rush", "-h"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue