summaryrefslogtreecommitdiff
path: root/sci-libs/matio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/matio
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/matio')
-rw-r--r--sci-libs/matio/Manifest10
-rw-r--r--sci-libs/matio/files/matio-1.5.0-asneeded.patch11
-rw-r--r--sci-libs/matio/matio-1.5.1.ebuild50
-rw-r--r--sci-libs/matio/matio-1.5.10.ebuild46
-rw-r--r--sci-libs/matio/matio-1.5.2.ebuild50
-rw-r--r--sci-libs/matio/metadata.xml18
6 files changed, 185 insertions, 0 deletions
diff --git a/sci-libs/matio/Manifest b/sci-libs/matio/Manifest
new file mode 100644
index 000000000000..1d7baee5e700
--- /dev/null
+++ b/sci-libs/matio/Manifest
@@ -0,0 +1,10 @@
+AUX matio-1.5.0-asneeded.patch 484 SHA256 45b05c16558619fb814a54eaeafb892e255bcb5d71dbf7c9e5c90a8fae0e88f1 SHA512 4ad49023834a884c095924a179dca7bd90acdafa6d4fa00954d8d1132771349e63ad86bd0c027fc60b01960d7218970162bbf2eac4faa75e5124ccd607353152 WHIRLPOOL 08cc29a4beaff4bcfe6bb52b5f05e7802ad13e16fd67410879c03c7604c3e12e5cc5ab6b00ca0c9a0173fbd106c6f475db5afeb86e258473982bfb970fee71ac
+DIST matio-1.5.1.tar.gz 8160893 SHA256 7d94a1433f67ce21f08fbbfc8af677f3838964b2b07565dce6f65e878394cd2f SHA512 bd1e49bcbfe3e073d2339bc3dff803b222c007aad19759ee9b666438fa59ec2b2750b52ffb3b5e911145cf2977538447f5db977fc056a624c5878ddbcf564b26 WHIRLPOOL 54c5191c9b4b15e54f25d435a7ea680c84c94f1f5c9e432e3340a7a0821b743c95a08c4e77d65dece3768147c7b5e9e9057bc7ad9b8cde358951f5728d81879b
+DIST matio-1.5.10.tar.gz 8630185 SHA256 41209918cebd8cc87a4aa815fed553610911be558f027aee54af8b599c78b501 SHA512 93c40d344fd8282e64cae6104bc6a485cd4ce65c948333c95127cfd54e57166c5e24d7a8d36a50dd896f11615a0274ddd303d8fdb4d3e41b34d4eacb7fc866af WHIRLPOOL 821ad5586f87681c45dc516827a4ed3adaf8e6cb32f8ec40f99b95ad19868dc79d8702341ac6f28a0b6a1b27ab7e49260089932a09802ebcba9085d4b8b3c1e2
+DIST matio-1.5.2.tar.gz 8179926 SHA256 db02d0fb3373c3d766a606309b17e64a5d8da55610e921a9f1a0ec171e911d45 SHA512 47ee7457db3f2138ecb1db9d7a04bf91d8277024631694e5f5a49b77829d60ce9dd95a1db33cd8eeaa8271e942acf60b522f40e4d7f4cae90f0a7caee7eb6efc WHIRLPOOL 31796367020078b06cefa10ccfad00526a04c12c158f581d8b4c134071647f01ae55b39e1c738cc3a9ac6211f36cd59041130edd208f001a28fb9f770e0fe8b0
+EBUILD matio-1.5.1.ebuild 1130 SHA256 a90ce26b598e3d5abf7521d35e73325a1a7a523f4b7e61cda2d0157a1ba211b8 SHA512 086e3bdd7af783b34ef8a0f56037fef28512281c61e678c9756734fe26c09739667d6eb2932f973795dc421d7b47a5e6abc72fa2ccdcd08e9bb29d78fc1031b7 WHIRLPOOL 83626044d00c4d91fb6eb7e1cf0e372871863e1c5ca19794a1890c4277b0ecfb0df4adc7bfb29844eddefe14919a4ae7c9394417130726b404a0dc7ff921d48e
+EBUILD matio-1.5.10.ebuild 979 SHA256 a44db4f459233972b3a1440e547e049d84366bfbc27595a93f5d20de5868a856 SHA512 03393c2a9dffef79588c8075208dd6184fcd32f3bbd82e787e00bb682dc90cf455960863b39a3372ee310fbc004dc7ee487cacb397c26e70e808cf25a9151e78 WHIRLPOOL 9ce429e4b891eb58615b09004cf9dd39b1c901f59402764b8f0fb4e51221370ffe82cb5834a029070c3fc686b29c694f3813c5801c5041c365b596ec77516a1f
+EBUILD matio-1.5.2.ebuild 1130 SHA256 a90ce26b598e3d5abf7521d35e73325a1a7a523f4b7e61cda2d0157a1ba211b8 SHA512 086e3bdd7af783b34ef8a0f56037fef28512281c61e678c9756734fe26c09739667d6eb2932f973795dc421d7b47a5e6abc72fa2ccdcd08e9bb29d78fc1031b7 WHIRLPOOL 83626044d00c4d91fb6eb7e1cf0e372871863e1c5ca19794a1890c4277b0ecfb0df4adc7bfb29844eddefe14919a4ae7c9394417130726b404a0dc7ff921d48e
+MISC ChangeLog 3262 SHA256 75a39ddce84ebec777283b5edbfb50b96b7e1e72ebd79ea2e589cfc38ea0c22f SHA512 0ea89809df3c96424eb1b0037d62467817ccccac5898c87ddb307b033495e3e34a9a27b447d6ae983095026e9eec34ce25cc1020c0048f4fe183205e7c3c469e WHIRLPOOL 9428477471609985dfcb1f1ed07d014b70f6c672995f84d4544d468709dd701bee2ffb1a97d706e55698da6777c49452565fe73110a78ebac349b53b68d54d68
+MISC ChangeLog-2015 2442 SHA256 a36c97e49b995306772f233af2f99f8b02c53570841c17f52adb241aa63d8355 SHA512 909701d3efa4da910bf53caabd8804e512ef871cace9f61bce05148ff5373be5974a26259c32eab268fd75a1a0faee7a77696919e69355809d49d49262339aed WHIRLPOOL 6bdc56677dbe8e590f5c7c0acd80f13f40cae65c5e3cd5d02d5ff51c9174b44a45c28a4cd9b2e902ad579297b8869357a58e3143479b02e2b2bfc8bdc503fb64
+MISC metadata.xml 591 SHA256 95d46ffbc768e5b68ac1010c7e5c91f6cfefdef7dbf5f32ed847e4811a38f184 SHA512 d6f20bbc3bff29f3d163909acb1aa6f3cc6557c5717c3ee9771ef17fbd14fe17836f26c2b2dc4defb4223cdeb5b978ef13c4d4a294a1ac11f0559e2518d58009 WHIRLPOOL 3c6c1fa9110cebbcee0df46db3b764b6d82b90b5902f70b57d19672c339bcf150120c9dd8445752c29e98d66ef4a4621544cee1d65a7df208097796366578de0
diff --git a/sci-libs/matio/files/matio-1.5.0-asneeded.patch b/sci-libs/matio/files/matio-1.5.0-asneeded.patch
new file mode 100644
index 000000000000..0f1e462c69f0
--- /dev/null
+++ b/sci-libs/matio/files/matio-1.5.0-asneeded.patch
@@ -0,0 +1,11 @@
+--- matio-1.5.0.orig/src/Makefile.am 2012-04-24 18:14:45.000000000 +0100
++++ matio-1.5.0/src/Makefile.am 2012-04-24 18:18:14.000000000 +0100
+@@ -45,7 +45,7 @@
+ lib_LTLIBRARIES = libmatio.la
+ libmatio_la_SOURCES = snprintf.c endian.c io.c $(ZLIB_SRC) read_data.c \
+ mat5.c mat4.c mat.c matvar_cell.c matvar_struct.c
+-libmatio_la_LIBADD = $(ZLIB_LIBS)
++libmatio_la_LIBADD = $(ZLIB_LIBS) $(HDF5_LIBS)
+
+ if MAT73
+ libmatio_la_SOURCES+= mat73.c
diff --git a/sci-libs/matio/matio-1.5.1.ebuild b/sci-libs/matio/matio-1.5.1.ebuild
new file mode 100644
index 000000000000..35b0ae903e3d
--- /dev/null
+++ b/sci-libs/matio/matio-1.5.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils eutils
+
+DESCRIPTION="Library for reading and writing matlab files"
+HOMEPAGE="https://sourceforge.net/projects/matio/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples hdf5 sparse static-libs"
+
+RDEPEND="
+ sys-libs/zlib
+ hdf5? ( sci-libs/hdf5 )"
+DEPEND="${RDEPEND}
+ doc? ( virtual/latex-base )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.0-asneeded.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --docdir="${EPREFIX}/usr/share/doc/${PF}"
+ $(use_enable hdf5 mat73)
+ $(use_enable sparse extended-sparse)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ use doc && autotools-utils_src_compile -C documentation pdf
+}
+
+src_install() {
+ use doc && DOCS=( "${BUILD_DIR}"/documentation/matio_user_guide.pdf )
+ autotools-utils_src_install
+ if use examples; then
+ docinto examples
+ dodoc test/test*
+ insinto /usr/share/${PN}
+ doins share/test*
+ fi
+}
diff --git a/sci-libs/matio/matio-1.5.10.ebuild b/sci-libs/matio/matio-1.5.10.ebuild
new file mode 100644
index 000000000000..78479eb8ba9c
--- /dev/null
+++ b/sci-libs/matio/matio-1.5.10.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Library for reading and writing matlab files"
+HOMEPAGE="https://sourceforge.net/projects/matio/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0/4" # subslot = soname version
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples hdf5 sparse static-libs"
+
+RDEPEND="
+ sys-libs/zlib
+ hdf5? ( sci-libs/hdf5 )"
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ doc? ( virtual/latex-base )"
+
+src_configure() {
+ econf \
+ $(use_enable hdf5 mat73) \
+ $(use_enable sparse extended-sparse) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+ use doc && emake -C documentation pdf
+}
+
+src_install() {
+ default
+
+ use doc && dodoc documentation/matio_user_guide.pdf
+ if use examples; then
+ docinto examples
+ dodoc test/test*
+ insinto /usr/share/${PN}
+ doins share/test*
+ fi
+
+ find "${D}" -name "*.la" -delete || die
+}
diff --git a/sci-libs/matio/matio-1.5.2.ebuild b/sci-libs/matio/matio-1.5.2.ebuild
new file mode 100644
index 000000000000..35b0ae903e3d
--- /dev/null
+++ b/sci-libs/matio/matio-1.5.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils eutils
+
+DESCRIPTION="Library for reading and writing matlab files"
+HOMEPAGE="https://sourceforge.net/projects/matio/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples hdf5 sparse static-libs"
+
+RDEPEND="
+ sys-libs/zlib
+ hdf5? ( sci-libs/hdf5 )"
+DEPEND="${RDEPEND}
+ doc? ( virtual/latex-base )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.0-asneeded.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --docdir="${EPREFIX}/usr/share/doc/${PF}"
+ $(use_enable hdf5 mat73)
+ $(use_enable sparse extended-sparse)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ use doc && autotools-utils_src_compile -C documentation pdf
+}
+
+src_install() {
+ use doc && DOCS=( "${BUILD_DIR}"/documentation/matio_user_guide.pdf )
+ autotools-utils_src_install
+ if use examples; then
+ docinto examples
+ dodoc test/test*
+ insinto /usr/share/${PN}
+ doins share/test*
+ fi
+}
diff --git a/sci-libs/matio/metadata.xml b/sci-libs/matio/metadata.xml
new file mode 100644
index 000000000000..2bc7cf11270b
--- /dev/null
+++ b/sci-libs/matio/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ matio is an ISO C library (with a limited Fortran 90 interface) for
+ reading and writing Matlab MAT files.
+</longdescription>
+ <use>
+ <flag name="sparse">Extend formats for sparse matrix (not matlab)</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">matio</remote-id>
+ </upstream>
+</pkgmetadata>