diff --git a/science/mathematics/matio/actions.py b/science/mathematics/matio/actions.py new file mode 100644 index 0000000000..914c842eef --- /dev/null +++ b/science/mathematics/matio/actions.py @@ -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") \ No newline at end of file diff --git a/science/mathematics/matio/files/fix-underlinking.patch b/science/mathematics/matio/files/fix-underlinking.patch new file mode 100644 index 0000000000..0842551dad --- /dev/null +++ b/science/mathematics/matio/files/fix-underlinking.patch @@ -0,0 +1,13 @@ +Index: matio-1.3.3/src/Makefile.in +=================================================================== +--- matio-1.3.3.orig/src/Makefile.in ++++ matio-1.3.3/src/Makefile.in +@@ -146,7 +146,7 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_P + LD = @LD@ + LDFLAGS = @LDFLAGS@ + LIBOBJS = @LIBOBJS@ +-LIBS = @LIBS@ ++LIBS = @LIBS@ -lz + LIBTOOL = @LIBTOOL@ + LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ diff --git a/science/mathematics/matio/pspec.xml b/science/mathematics/matio/pspec.xml new file mode 100644 index 0000000000..0de8f7828d --- /dev/null +++ b/science/mathematics/matio/pspec.xml @@ -0,0 +1,59 @@ + + + + + matio + https://sourceforge.net/projects/matio/ + + Blue Devil + bluedevil@sctzine.com + + science.mathematics + BSD + library + app:console + C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files + matio is an open-source library for reading/writing MATLAB MAT files. This library is designed for use by programs/libraries that do not have access or do not want to rely on MATLAB's shared library. + mirrors://sourceforge/matio/matio-1.5.17.tar.gz + + hdf5-devel + + + + + matio + + hdf5 + + + /usr/share + /usr/lib + /usr/bin + /usr/share/doc/matio + + + + + matio-devel + Development files for matio + + matio + + + /usr/include + /usr/lib/pkgconfig + + /usr/share/man/man3 + + + + + + 2020-06-08 + 1.5.17 + First Pisi Release + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/science/mathematics/matio/translations.xml b/science/mathematics/matio/translations.xml new file mode 100644 index 0000000000..d7f2b1dc2e --- /dev/null +++ b/science/mathematics/matio/translations.xml @@ -0,0 +1,14 @@ + + + + matio + Matlab dosyalarını okuyup/yazmak için bir C kitaplığı + matio, Matlab MAT dosyalarını okuyup/yazmak için geliştirilmiş, sınırlı Fortran 90 arayüzüne sahip bir C kitaplığıdır. + + + + matio-devel + matio için geliştirme dosyaları + matio-devel, matio için geliştirme dosyalarını içerir. + + \ No newline at end of file