New package PCRE2

This is a major update of the package PCRE. It seems both PCRE and PCRE2 can be installed at the same time; their APIs are different.
This commit is contained in:
Erik Schnetter 2015-12-22 18:53:43 -05:00
parent 100ada0ed6
commit 60ec79eac3

View file

@ -0,0 +1,15 @@
from spack import *
class Pcre2(Package):
"""The PCRE2 package contains Perl Compatible Regular Expression
libraries. These are useful for implementing regular expression
pattern matching using the same syntax and semantics as Perl 5."""
homepage = "http://www.pcre.org"""
url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.20.tar.bz2"
version('10.20', 'dcd027c57ecfdc8a6c3af9d0acf5e3f7')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
make()
make("install")