homebrew-core/Formula/byacc.rb

25 lines
866 B
Ruby
Raw Normal View History

class Byacc < Formula
desc "(Arguably) the best yacc variant"
2014-06-04 02:28:59 +00:00
homepage "http://invisible-island.net/byacc/byacc.html"
url "ftp://invisible-island.net/byacc/byacc-20141128.tgz"
sha256 "f517fc21f08c1a1f010177357df58fc64eb1131011e5dcd48c19fe44c47198d0"
2015-02-05 22:09:04 +00:00
bottle do
2015-09-24 05:04:39 +00:00
cellar :any_skip_relocation
sha256 "21dacda27da29077ee9c0bc1d892a0b09c119b4233e4731488a681b87828333b" => :el_capitan
2015-02-05 22:09:04 +00:00
sha1 "730c5b32d50fc5ebc21f519ac5828d03c50e57ef" => :yosemite
sha1 "76ef279d3d8466aefa7a921aa2cf663e86486156" => :mavericks
sha1 "69414e8c76e803da7b0102e6fc4d0096613a0128" => :mountain_lion
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--program-prefix=b", "--prefix=#{prefix}", "--man=#{man}"
system "make", "install"
end
test do
system bin/"byacc", "-V"
end
end