matio:new rel

This commit is contained in:
blue-devil
2020-06-10 00:38:08 +03:00
parent 158e14b39e
commit 8f86cbe20b
4 changed files with 115 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.system("./autogen.sh")
autotools.configure("--with-hdf5 \
--enable-shared \
--disable-static \
--enable-mat73=yes \
--enable-extended-sparse=yes" )
# fix unused dependency analysis
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "README")