sci-libs/matio: Bump to 1.5.21

Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/20684
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Jakov Smolic
2021-05-04 13:04:54 +01:00
committed by Sam James
parent 22e8ed34a3
commit ebe0c3520f
2 changed files with 47 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST matio-1.5.19.tar.gz 10108869 BLAKE2B db641bda8d68e203af765aa83ecf661e011995e242c4f91aacb4bcc8ba2b545c36a3eec3f4954b3d7ecc286e630acd15b34ec48b372063bfb8b892259fc49ec7 SHA512 c087944a7d87d78a7de662d7e19f5f81c55858cf5bf315c28d5a0f7544555b0816045e20bb0c83752eb3d54b589d9237a27cf3de98e3ebefcc7ea0af9311740e
DIST matio-1.5.21.tar.gz 10110430 BLAKE2B 1c43d44e69b28eacd9cc672a393df6a55c4ea0e06334eace9058b45bb0bd1582d43cafd30ad121bad33ad29dda52d5259be8c38f6cbacdb05a47da3644dfb984 SHA512 b00bcad807e6a7e10afa656eb77a0e3e9fb08d9cecc3e94ba41ef91ce60367d6686e6d387a874bbb83eb2f895d4a97caac554a70e7f5f6f5cb750052702d411c

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Library for reading and writing matlab files"
HOMEPAGE="https://sourceforge.net/projects/matio/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0/11" # subslot = soname version
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples hdf5 sparse"
RDEPEND="
sys-libs/zlib
hdf5? ( sci-libs/hdf5:= )"
DEPEND="${RDEPEND}"
BDEPEND="doc? ( virtual/latex-base )"
src_configure() {
econf \
--disable-static \
$(use_enable hdf5 mat73) \
$(use_enable sparse extended-sparse)
}
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*.c
insinto /usr/share/${PN}
doins share/test*
fi
# no static archives
find "${ED}" -name "*.la" -delete || die
}