diff options
author | Sam James <sam@gentoo.org> | 2022-12-12 17:54:08 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-12 17:54:21 +0000 |
commit | 885231edb016c1f76e11ade353a99a3732f27149 (patch) | |
tree | 706dc49de741a97582265f87ce4d35cdb436f489 /dev-libs/mpc | |
parent | dev-libs/libpcre2: add 10.42 (diff) | |
download | gentoo-885231edb016c1f76e11ade353a99a3732f27149.tar.gz gentoo-885231edb016c1f76e11ade353a99a3732f27149.tar.bz2 gentoo-885231edb016c1f76e11ade353a99a3732f27149.zip |
dev-libs/mpc: add 1.3.1_rc1 (identical to 1.3.0-r1)
Identical to 1.3.0-r1, so keyworded.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/mpc')
-rw-r--r-- | dev-libs/mpc/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/mpc/mpc-1.3.1_rc1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/mpc/Manifest b/dev-libs/mpc/Manifest index 18aa74957dfe..6cd4b4966eb3 100644 --- a/dev-libs/mpc/Manifest +++ b/dev-libs/mpc/Manifest @@ -1,2 +1,3 @@ DIST mpc-1.2.1.tar.gz 838731 BLAKE2B 9cd03c6a71839e4cdb3c1f18d718cc4d3097c3f8ec307a5c756bd5df27c68aa013755156b3b156efee1acabfee2269602c6a3a358092ef0d522271c9c56c133d SHA512 3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee DIST mpc-1.3.0.tar.gz 773441 BLAKE2B b9e2f4cda2457b1e885e4099daaf55a4c226291ec60097e40835f6e311c297947fe5cfd6ce61f80eecfbc8d374923422c4050a10399b26b23c12ab0f3f53a0f5 SHA512 9c18b24f7542dc1dc5e10cf58fd242e73d79a9dc3619c3f08d52aed75ad0e7d9e2ba2c46857717c8b921b084af2efc8c0d2d7173081af764b81c24a8971ddd9a +DIST mpc-1.3.1rc1.tar.gz 773589 BLAKE2B 27626bc2e1116e965ddaf38de45eea4d447e7f849d61180418d7685c192511c1502da0e69c612698ad404fee7c5a257024d5c35ebc00feb9f4264e8f9b164d76 SHA512 95964f8a4061d644343440c8fd8fc010b12bee226aab48063cc3d45a0d1e140d488dd10a1aeee5e0bb9fdea3bae935234a9b3b456a0d9a530339e83bc90d8945 diff --git a/dev-libs/mpc/mpc-1.3.1_rc1.ebuild b/dev-libs/mpc/mpc-1.3.1_rc1.ebuild new file mode 100644 index 000000000000..0bc612171b7e --- /dev/null +++ b/dev-libs/mpc/mpc-1.3.1_rc1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding" +HOMEPAGE="https://www.multiprecision.org/mpc/ https://gitlab.inria.fr/mpc/mpc" + +if [[ ${PV} == *_rc* ]] ; then + SRC_URI="https://www.multiprecision.org/downloads/${P/_}.tar.gz" + #S="${WORKDIR}"/${P/_} + S="${WORKDIR}"/${PN}-$(ver_cut 1-3) +else + SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +LICENSE="LGPL-2.1" +SLOT="0/3" # libmpc.so.3 +IUSE="static-libs" +# 1.3.1_rc1 is identical to 1.3.0-r1 so just keyword it +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DEPEND=" + >=dev-libs/gmp-5.0.0:=[${MULTILIB_USEDEP},static-libs?] + >=dev-libs/mpfr-4.1.0:=[${MULTILIB_USEDEP},static-libs?] +" +RDEPEND="${DEPEND}" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} |