Skip to content

Instantly share code, notes, and snippets.

@Tyrael
Created June 14, 2014 20:02
Show Gist options
  • Select an option

  • Save Tyrael/4386d210bc110004f647 to your computer and use it in GitHub Desktop.

Select an option

Save Tyrael/4386d210bc110004f647 to your computer and use it in GitHub Desktop.
bison.rb
require 'formula'
class Bison < Formula
homepage 'http://www.gnu.org/software/bison/'
url 'http://ftpmirror.gnu.org/bison/bison-2.6.2.tar.gz'
mirror 'http://ftp.gnu.org/gnu/bison/bison-2.6.2.tar.gz'
sha1 'a687f25f1be06e010a2624302bde4d488b26f3a7'
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment