homebrew-core/Formula/hello.rb
2015-11-19 17:03:53 +01:00

26 lines
984 B
Ruby

class Hello < Formula
desc "Program providing model for GNU coding standards and practices"
homepage "https://www.gnu.org/software/hello/"
url "http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz"
sha256 "31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b"
bottle do
cellar :any
sha256 "f81a305402e8f8b6cf11a17dac81f604b6f48d940909886a6733cf4f6a64c05f" => :yosemite
sha256 "c80495cb6d1ad8f2c3a64c22c9dcee9d0117ca25fa6426f20a6acca275cd6c56" => :mavericks
sha256 "c3468e676f2c9cb511e537774424299342ffd52740e252e515bddae6d9e79df3" => :mountain_lion
end
conflicts_with "camlistore", :because => "both install `hello` binaries"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/hello", "--greeting=brew"
end
end