summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2015-10-14 15:52:46 +0200
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2015-10-19 13:55:44 +0200
commitaab7102b9bcf2b35461ef3816f874f53d9eef976 (patch)
tree7d975931e18ef98d45c5356e83444c958e04d472
parent3a4bdf1856685ae63116793e532d45aa2ee7fd28 (diff)
downloadspack-aab7102b9bcf2b35461ef3816f874f53d9eef976.tar.gz
spack-aab7102b9bcf2b35461ef3816f874f53d9eef976.tar.bz2
spack-aab7102b9bcf2b35461ef3816f874f53d9eef976.tar.xz
spack-aab7102b9bcf2b35461ef3816f874f53d9eef976.zip
matio : added basic configuration for the package
-rw-r--r--var/spack/packages/matio/package.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/packages/matio/package.py b/var/spack/packages/matio/package.py
new file mode 100644
index 0000000000..12cfb80926
--- /dev/null
+++ b/var/spack/packages/matio/package.py
@@ -0,0 +1,15 @@
+from spack import *
+
+
+class Matio(Package):
+ """matio is an C library for reading and writing Matlab MAT files"""
+ homepage = "http://sourceforge.net/projects/matio/"
+ url = "http://downloads.sourceforge.net/project/matio/matio/1.5.2/matio-1.5.2.tar.gz"
+
+ version('1.5.2', '85b007b99916c63791f28398f6a4c6f1')
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix)
+
+ make()
+ make("install")