2014-01-28 16:02:16 +00:00
|
|
|
class Hello < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Program providing model for GNU coding standards and practices"
|
2015-02-06 08:14:27 +00:00
|
|
|
homepage "https://www.gnu.org/software/hello/"
|
2014-11-28 06:29:55 +00:00
|
|
|
url "http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b"
|
2014-01-28 16:02:16 +00:00
|
|
|
|
2015-02-05 19:24:05 +00:00
|
|
|
bottle do
|
2016-02-24 23:53:38 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "54ac46b692fcca2abe77aeeca41976172a2dc24a6762f84a47fabcaba336df89" => :el_capitan
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "f81a305402e8f8b6cf11a17dac81f604b6f48d940909886a6733cf4f6a64c05f" => :yosemite
|
|
|
|
sha256 "c80495cb6d1ad8f2c3a64c22c9dcee9d0117ca25fa6426f20a6acca275cd6c56" => :mavericks
|
|
|
|
sha256 "c3468e676f2c9cb511e537774424299342ffd52740e252e515bddae6d9e79df3" => :mountain_lion
|
2015-02-05 19:24:05 +00:00
|
|
|
end
|
|
|
|
|
2015-08-28 15:56:14 +00:00
|
|
|
conflicts_with "camlistore", :because => "both install `hello` binaries"
|
|
|
|
|
2014-01-28 16:02:16 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
test do
|
2015-08-03 12:55:31 +00:00
|
|
|
system "#{bin}/hello", "--greeting=brew"
|
2014-01-28 16:02:16 +00:00
|
|
|
end
|
|
|
|
end
|