2013-02-02 22:58:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Bison < Formula
|
|
|
|
homepage 'http://www.gnu.org/software/bison/'
|
2013-04-16 21:44:12 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/bison/bison-2.7.1.tar.gz'
|
|
|
|
mirror 'http://ftp.gnu.org/gnu/bison/bison-2.7.1.tar.gz'
|
|
|
|
sha1 '676af12f51a95390d9255ada83efa8fbb271be3a'
|
2013-02-02 22:58:25 +00:00
|
|
|
|
|
|
|
keg_only :provided_by_osx, 'Some formulae require a newer version of bison.'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|