homebrew-core/Formula/byacc.rb
2015-09-24 07:49:43 +01:00

24 lines
866 B
Ruby

class Byacc < Formula
desc "(Arguably) the best yacc variant"
homepage "http://invisible-island.net/byacc/byacc.html"
url "ftp://invisible-island.net/byacc/byacc-20141128.tgz"
sha256 "f517fc21f08c1a1f010177357df58fc64eb1131011e5dcd48c19fe44c47198d0"
bottle do
cellar :any_skip_relocation
sha256 "21dacda27da29077ee9c0bc1d892a0b09c119b4233e4731488a681b87828333b" => :el_capitan
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