aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rush.rb
blob: cd69f2a5acd0e1f8d25d37dc7b87fe1374f023ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class Rush < Formula
  homepage "https://www.gnu.org/software/rush/"
  url "http://ftpmirror.gnu.org/rush/rush-1.7.tar.gz"
  mirror "https://ftp.gnu.org/gnu/rush/rush-1.7.tar.gz"
  sha256 "35077fa36902fd451db52b49bf059992a20cc8ea031437171f384670d77a003a"

  bottle do
    sha256 "37645baa4f7ce9c904e4f62179bef2de7859a77b070c25095c50fca5cd45037c" => :yosemite
    sha256 "17866e573319857967d5e12e32a534ea90845a4ec7568b2d1224032cb6bf8619" => :mavericks
    sha256 "18c1c946892fee725b971f5db26e74da6f1d65686b9df676c329cca6b06a46d0" => :mountain_lion
  end

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{sbin}/rush", "-h"
  end
end