aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorYishen Miao2014-01-28 08:02:16 -0800
committerMike McQuaid2014-02-02 09:06:50 +0000
commitc2957e59db6a7ecedfb927623b24a96335e5b15d (patch)
tree9a8ef2d6fededd9cea5500e1ac4f99bf578cab75 /Library/Formula
parenta2e7e385801d7c3d1196700b6a0a86ba92c7ed23 (diff)
downloadhomebrew-c2957e59db6a7ecedfb927623b24a96335e5b15d.tar.bz2
hello 2.9 (new formula)
Closes #26224. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hello.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/hello.rb b/Library/Formula/hello.rb
new file mode 100644
index 000000000..ce01d6015
--- /dev/null
+++ b/Library/Formula/hello.rb
@@ -0,0 +1,18 @@
+require "formula"
+
+class Hello < Formula
+ homepage "http://www.gnu.org/software/hello/"
+ url "http://ftpmirror.gnu.org/hello/hello-2.9.tar.gz"
+ sha1 "cb0470b0e8f4f7768338f5c5cfe1688c90fbbc74"
+
+ 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