summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/bison/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/bison/package.py')
-rw-r--r--var/spack/repos/builtin/packages/bison/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py
new file mode 100644
index 0000000000..7c526fb958
--- /dev/null
+++ b/var/spack/repos/builtin/packages/bison/package.py
@@ -0,0 +1,17 @@
+from spack import *
+
+class Bison(Package):
+ """Bison is a general-purpose parser generator that converts
+ an annotated context-free grammar into a deterministic LR or
+ generalized LR (GLR) parser employing LALR(1) parser tables."""
+
+ homepage = "http://www.gnu.org/software/bison/"
+ url = "http://ftp.gnu.org/gnu/bison/bison-3.0.tar.gz"
+
+ version('3.0.4', 'a586e11cd4aff49c3ff6d3b6a4c9ccf8')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")