2013-02-02 22:58:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Bison < Formula
|
|
|
|
homepage 'http://www.gnu.org/software/bison/'
|
2013-12-11 19:39:42 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/bison/bison-3.0.2.tar.gz'
|
|
|
|
mirror 'http://ftp.gnu.org/gnu/bison/bison-3.0.2.tar.gz'
|
|
|
|
sha1 '4bbb9a1bdc7e4328eb4e6ef2479b3fe15cc49e54'
|
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}"
|
2013-07-25 21:29:08 +00:00
|
|
|
system "make", "install"
|
2013-02-02 22:58:25 +00:00
|
|
|
end
|
|
|
|
end
|