matio : added basic configuration for the package

This commit is contained in:
Massimiliano Culpo 2015-10-14 15:52:46 +02:00
parent 3a4bdf1856
commit aab7102b9b

View file

@ -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")