commit: 6207d8fa844029e500e904fa9060392dc0882238 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Tue Feb 27 14:27:03 2024 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Tue Feb 27 16:11:48 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6207d8fa
sci-libs/mpfun90: new package, add 2023.02.26 Closes: https://github.com/gentoo/sci/pull/1250 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> sci-libs/mpfun90/metadata.xml | 18 ++++++++++++++++++ sci-libs/mpfun90/mpfun90-2023.02.26.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/sci-libs/mpfun90/metadata.xml b/sci-libs/mpfun90/metadata.xml new file mode 100644 index 000000000..e3eb0d9c1 --- /dev/null +++ b/sci-libs/mpfun90/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alexan...@neuwirth-informatik.de</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <maintainer type="project"> + <email>sci-phys...@gentoo.org</email> + <name>Gentoo Physics Project</name> + </maintainer> + <longdescription lang="en"> + This package permits one to perform floating-point computations (real and complex) to arbitrarily high numeric precision + </longdescription> + <upstream> + <remote-id type="github">APN-Pucky/mpfun90</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/mpfun90/mpfun90-2023.02.26.ebuild b/sci-libs/mpfun90/mpfun90-2023.02.26.ebuild new file mode 100644 index 000000000..4f885fa2c --- /dev/null +++ b/sci-libs/mpfun90/mpfun90-2023.02.26.ebuild @@ -0,0 +1,29 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs fortran-2 + +DESCRIPTION="High-Precision Software" +HOMEPAGE=" + https://www.davidhbailey.com/dhbsoftware/ + https://github.com/APN-Pucky/mpfun90 +" +MY_PV=$(ver_rs 1- '-') +SRC_URI="https://github.com/APN-Pucky/mpfun90/archive/refs/tags/${MY_PV}.tar.gz" +S="${WORKDIR}/mpfun90-${MY_PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + emake -j1 dynamic +} + +src_install() { + doheader *.mod + dolib.so libmpfun90.so + dolib.a libmpfun90.a +}