aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bison.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-02-02 14:58:25 -0800
committerAdam Vandenberg2013-02-02 14:58:45 -0800
commitadf87c6f6f6f7fa93e85e0ce2ba1135582716f6c (patch)
tree1779f3ea0f5ba678459d4a839eebe50733a31aa7 /Library/Formula/bison.rb
parent80ff219ed0d3a3815f94e7f5d70b156a7e954fe7 (diff)
downloadhomebrew-adf87c6f6f6f7fa93e85e0ce2ba1135582716f6c.tar.bz2
bison 2.7
Some times a newer bison is required.
Diffstat (limited to 'Library/Formula/bison.rb')
-rw-r--r--Library/Formula/bison.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/bison.rb b/Library/Formula/bison.rb
new file mode 100644
index 000000000..913900f3a
--- /dev/null
+++ b/Library/Formula/bison.rb
@@ -0,0 +1,16 @@
+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