1 |
commit: b978a17ecb4e1ccd62317d664e9af15fb3034f24 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 9 17:00:15 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 17:19:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b978a17e |
7 |
|
8 |
sci-libs/matio: add 1.5.23 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/842258 |
11 |
Bug: https://bugs.gentoo.org/803131 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
13 |
|
14 |
sci-libs/matio/Manifest | 1 + |
15 |
sci-libs/matio/matio-1.5.23.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/matio/Manifest b/sci-libs/matio/Manifest |
19 |
index c201252bd95a..f2240eab33cf 100644 |
20 |
--- a/sci-libs/matio/Manifest |
21 |
+++ b/sci-libs/matio/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST matio-1.5.21.tar.gz 10110430 BLAKE2B 1c43d44e69b28eacd9cc672a393df6a55c4ea0e06334eace9058b45bb0bd1582d43cafd30ad121bad33ad29dda52d5259be8c38f6cbacdb05a47da3644dfb984 SHA512 b00bcad807e6a7e10afa656eb77a0e3e9fb08d9cecc3e94ba41ef91ce60367d6686e6d387a874bbb83eb2f895d4a97caac554a70e7f5f6f5cb750052702d411c |
24 |
+DIST matio-1.5.23.tar.gz 10115808 BLAKE2B a461cd8a0057db2bf1bc0249f4e9c3a0b901bc19fc274c7b9c38d3376b86d556bcfd997a32d5eb7d03b911f7a265c35ee337d98daccea5549d4e16d16f67932b SHA512 e125278dcb25695affb7c576d0e2a86c0eff4225aa866b81536c9e4d7b2aea2c554f5389e96d534a8b559f5554b6cbecff4b44fe8915173cd64b2da6d1dc2629 |
25 |
|
26 |
diff --git a/sci-libs/matio/matio-1.5.23.ebuild b/sci-libs/matio/matio-1.5.23.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..50ba1730381e |
29 |
--- /dev/null |
30 |
+++ b/sci-libs/matio/matio-1.5.23.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DESCRIPTION="Library for reading and writing matlab files" |
38 |
+HOMEPAGE="https://sourceforge.net/projects/matio/" |
39 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="BSD-2" |
42 |
+SLOT="0/11" # subslot = soname version |
43 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
44 |
+IUSE="doc examples hdf5 sparse" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ sys-libs/zlib |
48 |
+ hdf5? ( sci-libs/hdf5:= )" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+BDEPEND="doc? ( virtual/latex-base )" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ econf \ |
54 |
+ --disable-static \ |
55 |
+ $(use_enable hdf5 mat73) \ |
56 |
+ $(use_enable sparse extended-sparse) |
57 |
+} |
58 |
+ |
59 |
+src_compile() { |
60 |
+ default |
61 |
+ use doc && emake -C documentation pdf |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ default |
66 |
+ use doc && dodoc documentation/matio_user_guide.pdf |
67 |
+ |
68 |
+ if use examples; then |
69 |
+ docinto examples |
70 |
+ dodoc test/test*.c |
71 |
+ insinto /usr/share/${PN} |
72 |
+ doins share/test* |
73 |
+ fi |
74 |
+ |
75 |
+ # no static archives |
76 |
+ find "${ED}" -name "*.la" -delete || die |
77 |
+} |