flex and bison

This commit is contained in:
Alfredo Gimenez
2015-02-06 16:55:48 -08:00
parent d95d48bbe6
commit 5fdf5438ea
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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")