89d5127900
Package repositories now look like this: top-level-dir/ repo.yaml packages/ libelf/ package.py mpich/ package.py ... This leaves room at the top level for additional metadata, source, per-repo configs, indexes, etc., and it makes it easy to see that something is a spack repo (just look for repo.yaml and packages).
15 lines
391 B
Python
15 lines
391 B
Python
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"
|
|
|
|
version('2.5.39', 'e133e9ead8ec0a58d81166b461244fde')
|
|
|
|
def install(self, spec, prefix):
|
|
configure("--prefix=%s" % prefix)
|
|
|
|
make()
|
|
make("install")
|