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

class Muparser(Package):
    """C++ math expression parser library."""
    homepage = "http://muparser.beltoforion.de/"
    url      = "https://github.com/beltoforion/muparser/archive/v2.2.5.tar.gz"

    version('2.2.5', '02dae671aa5ad955fdcbcd3fee313fb7')

    def install(self, spec, prefix):
        options = ['--disable-debug',
                   '--disable-dependency-tracking',
                   '--prefix=%s' % prefix]

        configure(*options)

        make()
        make("install")