add GOPATH support

Also fixes flex to depend on bison for its yacc implementation.
This commit is contained in:
Tom Scogland
2016-05-16 09:30:37 -07:00
parent dacedfcc0e
commit 62dd040a8f
2 changed files with 15 additions and 2 deletions

View File

@@ -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)