summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2015-12-22 18:53:43 -0500
committerErik Schnetter <schnetter@gmail.com>2015-12-22 18:53:43 -0500
commit60ec79eac3f185f6389166ff801a767c66c7470e (patch)
tree9184e2b675ad30e8d223d9c7ec792e6b05e13a81
parent100ada0ed656eba970864c8829edd53b07b9bf4a (diff)
downloadspack-60ec79eac3f185f6389166ff801a767c66c7470e.tar.gz
spack-60ec79eac3f185f6389166ff801a767c66c7470e.tar.bz2
spack-60ec79eac3f185f6389166ff801a767c66c7470e.tar.xz
spack-60ec79eac3f185f6389166ff801a767c66c7470e.zip
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.
-rw-r--r--var/spack/packages/pcre2/package.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/packages/pcre2/package.py b/var/spack/packages/pcre2/package.py
new file mode 100644
index 0000000000..6a0244a15e
--- /dev/null
+++ b/var/spack/packages/pcre2/package.py
@@ -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")