mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 21:46:58 +02:00
dev-libs/mpc: Sync with Gentoo
It's from Gentoo commit 7a92b7f2e5fdea74f1c9d269c7017dbcd268e9b2.
This commit is contained in:
parent
ab2fec6d3b
commit
d74d16da72
@ -1 +1 @@
|
|||||||
DIST mpc-1.2.1.tar.gz 838731 BLAKE2B 9cd03c6a71839e4cdb3c1f18d718cc4d3097c3f8ec307a5c756bd5df27c68aa013755156b3b156efee1acabfee2269602c6a3a358092ef0d522271c9c56c133d SHA512 3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee
|
DIST mpc-1.3.1.tar.gz 773573 BLAKE2B 76434e6f8830af3571836d51576bfebbc9701e9bbb5c4686f134081cd96cd90ae02f7ff42bf9e3957c7a7ba92b6b2d9cdabe18f0269271147521cd7f6a2d551c SHA512 4bab4ef6076f8c5dfdc99d810b51108ced61ea2942ba0c1c932d624360a5473df20d32b300fc76f2ba4aa2a97e1f275c9fd494a1ba9f07c4cb2ad7ceaeb1ae97
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit multilib-minimal
|
|
||||||
|
|
||||||
DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding"
|
|
||||||
HOMEPAGE="http://mpc.multiprecision.org/"
|
|
||||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0/3" # libmpc.so.3
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
DEPEND=">=dev-libs/gmp-5.0.0:0=[${MULTILIB_USEDEP},static-libs?]
|
|
||||||
>=dev-libs/mpfr-4.1.0: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 "${D}" -name '*.la' -delete || die
|
|
||||||
}
|
|
37
sdk_container/src/third_party/portage-stable/dev-libs/mpc/mpc-1.3.1.ebuild
vendored
Normal file
37
sdk_container/src/third_party/portage-stable/dev-libs/mpc/mpc-1.3.1.ebuild
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2023 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}"/${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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+ FDL-1.3+"
|
||||||
|
SLOT="0/3" # libmpc.so.3
|
||||||
|
IUSE="static-libs"
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user