diff options
author | Tom Scogland <scogland1@llnl.gov> | 2016-05-16 09:30:37 -0700 |
---|---|---|
committer | Tom Scogland <scogland1@llnl.gov> | 2016-05-16 09:30:37 -0700 |
commit | 62dd040a8fd7f6f8993640156049eeb061efe955 (patch) | |
tree | fb65c3b053c718deeb3a7d8b5ae17202496b95e4 /var/spack/repos/builtin/packages/flex | |
parent | dacedfcc0ebe2bdf15cc5bb5b49d5a61d6aca354 (diff) | |
download | spack-62dd040a8fd7f6f8993640156049eeb061efe955.tar.gz spack-62dd040a8fd7f6f8993640156049eeb061efe955.tar.bz2 spack-62dd040a8fd7f6f8993640156049eeb061efe955.tar.xz spack-62dd040a8fd7f6f8993640156049eeb061efe955.zip |
add GOPATH support
Also fixes flex to depend on bison for its yacc implementation.
Diffstat (limited to 'var/spack/repos/builtin/packages/flex')
-rw-r--r-- | var/spack/repos/builtin/packages/flex/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/flex/package.py b/var/spack/repos/builtin/packages/flex/package.py index 926651010f..b778538606 100644 --- a/var/spack/repos/builtin/packages/flex/package.py +++ b/var/spack/repos/builtin/packages/flex/package.py @@ -24,15 +24,18 @@ ############################################################################## from spack import * + class Flex(Package): """Flex is a tool for generating scanners.""" homepage = "http://flex.sourceforge.net/" - url = "http://download.sourceforge.net/flex/flex-2.5.39.tar.gz" + url = "http://download.sourceforge.net/flex/flex-2.5.39.tar.gz" version('2.6.0', '5724bcffed4ebe39e9b55a9be80859ec') version('2.5.39', 'e133e9ead8ec0a58d81166b461244fde') + depends_on("bison") + def install(self, spec, prefix): configure("--prefix=%s" % prefix) |