homebrew-core/Formula/bison.rb

17 lines
489 B
Ruby
Raw Normal View History

require 'formula'
class Bison < Formula
homepage 'http://www.gnu.org/software/bison/'
url 'http://ftpmirror.gnu.org/bison/bison-2.7.tar.gz'
mirror 'http://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz'
sha1 'aa4f5aa51ee448bac132041df0ce25a800a3661c'
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