summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-22 12:38:17 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-22 12:38:17 -0700
commit20a00c4cdfe29a0975720dcd06449ebf4a1c3353 (patch)
tree1085b3aa095c6f1d75d2eccb626f24ea74f4d82d
parente32eb7e990119288e0bbffe1786b5cd20547e0ad (diff)
parentfd1784369a20650c3fc6f84d57ed4e6be59afc44 (diff)
downloadspack-20a00c4cdfe29a0975720dcd06449ebf4a1c3353.tar.gz
spack-20a00c4cdfe29a0975720dcd06449ebf4a1c3353.tar.bz2
spack-20a00c4cdfe29a0975720dcd06449ebf4a1c3353.tar.xz
spack-20a00c4cdfe29a0975720dcd06449ebf4a1c3353.zip
Merge pull request #607 from davydden/muparser
add muparser package
-rw-r--r--var/spack/repos/builtin/packages/muparser/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/muparser/package.py b/var/spack/repos/builtin/packages/muparser/package.py
new file mode 100644
index 0000000000..a1a9ff90e5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/muparser/package.py
@@ -0,0 +1,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")