aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2015-02-05 21:58:48 +0000
committerMike McQuaid2015-02-06 08:21:37 +0000
commitd69c915319b3f5de4f0553f3db69f09796b2fa64 (patch)
treea25e41b6d84f7aedee77efc990b80e2ae6b2adaa
parent3855acaf069be61d8a66080a0bea5491e52f6a7e (diff)
downloadhomebrew-d69c915319b3f5de4f0553f3db69f09796b2fa64.tar.bz2
byacc 20141128
Version bump. Simple test added, Apologies to Mike in advance - I don’t know how to handle a more difficult one here ;) Closes #36577. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/byacc.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Formula/byacc.rb b/Library/Formula/byacc.rb
index 136972ec6..ae3768fca 100644
--- a/Library/Formula/byacc.rb
+++ b/Library/Formula/byacc.rb
@@ -1,15 +1,15 @@
-require "formula"
-
class Byacc < Formula
homepage "http://invisible-island.net/byacc/byacc.html"
- url "ftp://invisible-island.net/byacc/byacc-20140422.tgz"
- sha1 "aa30cac1e7b3cf9d6d19d6b9653575d56564b213"
+ url "ftp://invisible-island.net/byacc/byacc-20141128.tgz"
+ sha1 "59ea0a166b10eaec99edacc4c38fcb006c6e84d3"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--program-prefix=b",
- "--prefix=#{prefix}",
- "--man=#{man}"
- system "make install"
+ "--program-prefix=b", "--prefix=#{prefix}", "--man=#{man}"
+ system "make", "install"
+ end
+
+ test do
+ system bin/"byacc", "-V"
end
end