diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2024-09-05 08:43:27 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2024-09-05 08:52:16 -0400 |
commit | 61c1affe146f8b8c976f427f5610cd0c128e54f5 (patch) | |
tree | 2ffc52270330c7d46470cb9d0d63d3ecdd4196ef /sci-libs | |
parent | profiles/license_groups: add LBNLBSD to @OSI-APPROVED-FREE (diff) | |
download | gentoo-61c1affe146f8b8c976f427f5610cd0c128e54f5.tar.gz gentoo-61c1affe146f8b8c976f427f5610cd0c128e54f5.tar.bz2 gentoo-61c1affe146f8b8c976f427f5610cd0c128e54f5.zip |
sci-libs/qd: add 2.3.24
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/qd/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/qd/qd-2.3.24.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/sci-libs/qd/Manifest b/sci-libs/qd/Manifest index 647c94900bf4..77c890f33400 100644 --- a/sci-libs/qd/Manifest +++ b/sci-libs/qd/Manifest @@ -1 +1,2 @@ DIST qd-2.3.23.tar.gz 781558 BLAKE2B bbda1ede1e93c100ca831b3eddc34ad6092007f9674c83803e5a5e140f80cc6b4b41fa71857beb9ef255d77265470537e43ef81886d6a013958a429b1c641c55 SHA512 ab311883db7708cee1c307eead5d02dac3b9809389b8d29e2fda5207decb752ca360a9aab234dd8a70228e0e004a6b6d6cdf92fd098536e96a2fa01c5b2ced2c +DIST qd-2.3.24.tar.gz 812215 BLAKE2B f9520066d8004befc3c17dc9a79dc8f099e39c3eeb676c8909f2914fa2f7d8e4f52e7e906c928d6fecdf018cdf97ac465fa9aa3f9c57b02279d1cbb8b3952246 SHA512 7f233e9d0edcb442da160a49bc97df87acf258c3251828e2d473206022a36581295f38c685ac5f0c78b106605f12698f3d0cc0b4865be220a50b3536820ac1b7 diff --git a/sci-libs/qd/qd-2.3.24.ebuild b/sci-libs/qd/qd-2.3.24.ebuild new file mode 100644 index 000000000000..2dd5a5b3591a --- /dev/null +++ b/sci-libs/qd/qd-2.3.24.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_NEEDED=fortran + +inherit fortran-2 + +DESCRIPTION="Quad-double and double-double float arithmetics" +HOMEPAGE="https://www.davidhbailey.com/dhbsoftware/" +SRC_URI="https://www.davidhbailey.com/dhbsoftware/${P}.tar.gz" +LICENSE="LBNLBSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran" + +src_configure() { + econf \ + --disable-static \ + --enable-ieee-add \ + --disable-sloppy-mul \ + --disable-sloppy-div \ + --enable-inline \ + $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) \ + $(use_enable fortran) +} + +src_install() { + default + + dosym qd_real.h /usr/include/qd/qd.h + dosym dd_real.h /usr/include/qd/dd.h + + if ! use doc; then + rm "${ED}"/usr/share/doc/${PF}/*.pdf || die + fi + + find "${D}" -name '*.la' -delete || die +} |