aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/hello.rb
blob: 03e863a3982695f6847102ed00b25391ebadbe5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require "formula"

class Hello < Formula
  homepage "http://www.gnu.org/software/hello/"
  url "http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz"
  sha1 "f7bebf6f9c62a2295e889f66e05ce9bfaed9ace3"

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
  test do
     system "#{bin}/hello", "--next-generation", "--greeting=brew"
  end
end