diff options
Diffstat (limited to 'sci-libs/matio')
-rw-r--r-- | sci-libs/matio/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/matio/matio-1.5.17.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sci-libs/matio/Manifest b/sci-libs/matio/Manifest index 17af2720f434..2d018a108fbb 100644 --- a/sci-libs/matio/Manifest +++ b/sci-libs/matio/Manifest @@ -1,5 +1,7 @@ DIST matio-1.5.13.tar.gz 10037903 BLAKE2B 8817fa3a1c050a84951c706922b32c5ed082ec057a35cb7fa20cc4d977316208a61604fcb6c0e09c96f592294a65d57a8a95844d15821987bdd337564345e778 SHA512 2db430dd47b8ceed850aaadf36c0fd3b405ba32db3eb2d5be320d007754983e2538ab99338d3ae8d69e8a531818c3bde0807c1f4a505eff7dd25d4a77934b737 DIST matio-1.5.16.tar.gz 10050153 BLAKE2B de643c11371a931853c2d60347431a1fc3c46f80d5e3083376e634999ea9d10bb1f5f547ed9844654dcb8ff6ff9492d037b26f693cbced04228a6c5d603c0a86 SHA512 38039ddc897b9e44677af08d996dde960355b6d8c5598000fbb23dda5501361d1c2a9e82f0f3e6c1309f0784943976259e5d39d1030f00db323e1756e5bd144a +DIST matio-1.5.17.tar.gz 10066268 BLAKE2B 0852d1861bb4c43acd8a34d7114d29b7e15aa00e6f995d8516d22ff9420268cf7de7b82e08ee33978891bdfd02fcf3f8441aa1466e66e112a21f01abd6f3f0e0 SHA512 af8ff11c7c44fea9ea6886e381f49ef9186946f3def98ad9695f2d5d1df045c35e8f4ceac12a44be397f7bbd708b4803762b5ce54c45b60a9f446d551c04f5d2 EBUILD matio-1.5.13.ebuild 976 BLAKE2B 3ad88b53997bc9c025f37f2173258064263867f27f24f41fb6037ef6971647285083096a77fc32bb6fa4ee99f1708e5d0ea814208e7fea62690331a3fbecf995 SHA512 bb866a2f22dc160bbecae2d9a2168275203dd5c5abe5eaafef27c5f28ecdce11a30ecc3fb562160b43946e1ee1f5390e74c835a7bb7c2c08cb8a1fe76d40c314 EBUILD matio-1.5.16.ebuild 976 BLAKE2B 3ad88b53997bc9c025f37f2173258064263867f27f24f41fb6037ef6971647285083096a77fc32bb6fa4ee99f1708e5d0ea814208e7fea62690331a3fbecf995 SHA512 bb866a2f22dc160bbecae2d9a2168275203dd5c5abe5eaafef27c5f28ecdce11a30ecc3fb562160b43946e1ee1f5390e74c835a7bb7c2c08cb8a1fe76d40c314 +EBUILD matio-1.5.17.ebuild 964 BLAKE2B 75bcdba772c7aa2c951f942f31c7bc7dc89ffc25fe516d5dc5af505e0b8f5e4a4be001bd82081a476c88f7db174c1c9fa75de6bab19fc7e4e3f823cad7f28db1 SHA512 698c744736765b074707d6db5dbe1a60eee70f11e518c0afea55e97baf0bb624067300daea45d982cc331baa108fdd7a923b30097e80963d687815ae1d3a863e MISC metadata.xml 591 BLAKE2B f3e23baf2a3e7bd304987be8296034faf78988c95b4d9fbb9eedc7e8cc6efa0c1479a4ed48ecc10d9b0aee6c92603f4436e8d6b34811b227e86a5f822f47adf3 SHA512 d6f20bbc3bff29f3d163909acb1aa6f3cc6557c5717c3ee9771ef17fbd14fe17836f26c2b2dc4defb4223cdeb5b978ef13c4d4a294a1ac11f0559e2518d58009 diff --git a/sci-libs/matio/matio-1.5.17.ebuild b/sci-libs/matio/matio-1.5.17.ebuild new file mode 100644 index 000000000000..da6218a96d9f --- /dev/null +++ b/sci-libs/matio/matio-1.5.17.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 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/9" # 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 "${D}" -name "*.la" -delete || die +} |