matio:new rel
This commit is contained in:
@@ -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")
|
||||||
@@ -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@
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>matio</Name>
|
||||||
|
<Homepage>https://sourceforge.net/projects/matio/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<PartOf>science.mathematics</PartOf>
|
||||||
|
<License>BSD</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<IsA>app:console</IsA>
|
||||||
|
<Summary>C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files</Summary>
|
||||||
|
<Description>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.</Description>
|
||||||
|
<Archive sha1sum="948851455e5097206901105e911a1d1a5db5e95f" type="targz">mirrors://sourceforge/matio/matio-1.5.17.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>hdf5-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>matio</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>hdf5</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/matio</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>matio-devel</Name>
|
||||||
|
<Summary>Development files for matio</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">matio</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
|
<!-- FIXME: Remove this if not necessary -->
|
||||||
|
<Path fileType="man">/usr/share/man/man3</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-06-08</Date>
|
||||||
|
<Version>1.5.17</Version>
|
||||||
|
<Comment>First Pisi Release</Comment>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>matio</Name>
|
||||||
|
<Summary xml:lang="tr">Matlab dosyalarını okuyup/yazmak için bir C kitaplığı</Summary>
|
||||||
|
<Description xml:lang="tr">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.</Description>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>matio-devel</Name>
|
||||||
|
<Summary xml:lang="tr">matio için geliştirme dosyaları</Summary>
|
||||||
|
<Description xml:lang="tr">matio-devel, matio için geliştirme dosyalarını içerir.</Description>
|
||||||
|
</Package>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user