summaryrefslogtreecommitdiff
path: root/var/spack/packages/pcre/package.py
blob: e38d337e3d3a79baa88eb9b1b51c6fa841d06d01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from spack import *

class Pcre(Package):
    """The PCRE 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/pcre-8.36.tar.bz2"

    version('8.36', 'b767bc9af0c20bc9c1fe403b0d41ad97')
    version('8.38', '00aabbfe56d5a48b270f999b508c5ad2')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)
        make()
        make("install")