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
|
|
|
|
cellar :any
|
|
|
|
sha1 "91dbdb51264005a4b5be16dc34726c6ddd358e59" => :yosemite
|
|
|
|
sha1 "ce8368b741ae6c8ceda6eb8b570864cc4e9f4c45" => :mavericks
|
|
|
|
sha1 "31f4537c7c3d231bf48fa50a14c1d82a958066c4" => :mountain_lion
|
|
|
|
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
|