diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-10 00:08:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-10 00:08:04 +0100 |
commit | 0aad4cd3e3fe3db90904ffc51b35e4ff160b53c5 (patch) | |
tree | a522875f946841ad0790b8170c9201bb145e09bc /sci-libs/arprec/arprec-2.2.19.ebuild | |
parent | 4fe228ee9aa3b9b825d54ace549a5517e153e8bd (diff) |
gentoo auto-resync : 10:06:2024 - 00:08:04
Diffstat (limited to 'sci-libs/arprec/arprec-2.2.19.ebuild')
-rw-r--r-- | sci-libs/arprec/arprec-2.2.19.ebuild | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/sci-libs/arprec/arprec-2.2.19.ebuild b/sci-libs/arprec/arprec-2.2.19.ebuild deleted file mode 100644 index b31b5b5c86c7..000000000000 --- a/sci-libs/arprec/arprec-2.2.19.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD=90 - -inherit autotools fortran-2 - -DESCRIPTION="Arbitrary precision float arithmetics and functions" -HOMEPAGE="https://crd-legacy.lbl.gov/~dhbailey/mpdist/" -SRC_URI="https://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran qd static-libs" - -DEPEND="qd? ( sci-libs/qd[fortran=] )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gold.patch -) - -S="${WORKDIR}/${PN}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --enable-shared \ - $(use_enable static-libs static) \ - $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) \ - $(use_enable fortran) \ - $(use_enable qd) -} - -src_compile() { - default - - if use fortran; then - emake toolkit - cd toolkit || die - ./mathinit || die "mathinit failed" - fi -} - -src_install() { - default - - if use fortran; then - cd toolkit || die - - exeinto /usr/libexec/${PN} - doexe mathtool - - exeinto /usr/libexec/${PN}/.libs - doexe .libs/mathtool - - insinto /usr/libexec/${PN} - doins *.dat - - cat > mathtool.exe <<- _EOF_ || die - #!/usr/bin/env sh - cd "${EPREFIX}/usr/libexec/${PN}" && exec ./mathtool - _EOF_ - - newbin mathtool.exe mathtool - newdoc README README.mathtool - fi - - if ! use doc; then - rm "${ED%/}"/usr/share/doc/${PF}/*.pdf || die - fi - - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -} |