diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-10 15:40:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-10 15:40:27 +0000 |
commit | 6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (patch) | |
tree | cee0a97398040001220ece3cd48c3d568bcddb4a /dev-libs/mpfr | |
parent | 1db00cc6e94b90c08090bb5b8c406622946c4ae5 (diff) |
gentoo resync : 10.02.2019
Diffstat (limited to 'dev-libs/mpfr')
-rw-r--r-- | dev-libs/mpfr/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/mpfr/mpfr-4.0.2.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest index 9ca1c01694c0..89c33a78d45f 100644 --- a/dev-libs/mpfr/Manifest +++ b/dev-libs/mpfr/Manifest @@ -9,6 +9,7 @@ DIST mpfr-3.1.5.tar.xz 1126668 BLAKE2B f902925036a4310e7b10461438bae5d5770b95ca6 DIST mpfr-3.1.6.tar.xz 1133672 BLAKE2B ab8b87be9d29e9ae5807976f72d65e16cd3e5b4c2ffc4e5bd7829e664250b1969a1ec3928b3519cd75365692e23eadfd413a8116f8c77d6cd66183020b72b656 SHA512 746ee74d5026f267f74ab352d850ed30ff627d530aa840c71b24793e44875f8503946bd7399905dea2b2dd5744326254d7889337fe94cfe58d03c4066e9d8054 DIST mpfr-4.0.0.tar.xz 1406244 BLAKE2B 2d1e356ac1f7119aa8896c438e7e30c4b316780d76fa2690e50482005e9ff5d6b5cd368d4c9a524df66ea3e7f2942c627329fa15be83402209c6e249cd1abd28 SHA512 9c9c4535f33fffd2126d1c290e5eeda7cd2804219244643f09c9a2d2acfa3d410d2cb1e4a7bb77cd86cffc2fac59c7f5d32c9910317cac37dbca474ab6d63808 DIST mpfr-4.0.1.tar.xz 1412692 BLAKE2B 3e8d5cf558071571c21417088e74b8cb94a2e179667af41f734a68c7bd89d4beff245b9344c4c37d2f6558036a1a8c9ad3ea5ec8fbde16d2c7ebbf37a22cf424 SHA512 137ad68bc1e33a155edc1247fcdba27f999cf48ed526773136584090ddf2cfdfc9ea79fbf74ea1943b835b4b1ff29b05087114738c6ad3b485848540f30cac4f +DIST mpfr-4.0.2.tar.xz 1441996 BLAKE2B 4c1a15208c2dc3dcc1424974de506198e9cc479c70255149876c7f541133499ada5c89f07393b120b7079e6bbaf8ea03e5e496e1350b295e687392a6e0341c1c SHA512 d583555d08863bf36c89b289ae26bae353d9a31f08ee3894520992d2c26e5683c4c9c193d7ad139632f71c0a476d85ea76182702a98bf08dde7b6f65a54f8b88 EBUILD mpfr-2.4.2_p3-r1.ebuild 1497 BLAKE2B 7161fc539fd4de18e4c66a057bbddf9633e45a964fa628051c800a265140fdbea1652c3e8fa8ef1e9f156dcab58d8283761218382c5af7056dcbef2b63405342 SHA512 6634ef915f69bbd2ee2f27c01a4aef7f6c8e3258adc270fca97e55c8f2155fd66b6ab827c2152db1d9ce93aba7a96b884a05220dac3ae92c02b869efb8e9f6a4 EBUILD mpfr-3.1.3_p4.ebuild 1812 BLAKE2B 488a0b5543cff2058fb64cb7164916caf22a81b0e931498d1f54d567c182fa846dbce4a838316c973d99c2715f9a5ed279bca94d9fe5cc189791fb162c01121c SHA512 95d57a2c819ba28565e00cbc9e8075f506e75bf685b8a8b4cbecb56abee8525b8b3adb070d1470dff6f7ee69b8547e77b312e64f6400c41120a4830ef92e6c50 EBUILD mpfr-3.1.4.ebuild 1634 BLAKE2B 2c3ec81dbec054f865b81a5e16cafb0c4464ff6eca4fe034d328554087594112d90d64c76149c293a1d210e8ce0da7e39f55018512b8154bb5dbcc44271c411c SHA512 86aefae35f12481e03f5b45831e2c0ebc64060d9dfa7253b3ce2fffbdb08429c53c3fc5f0ed334b9fcae2fed6b74170a612494943db5423b9acf24c34b8d0f2f @@ -16,4 +17,5 @@ EBUILD mpfr-3.1.5_p2.ebuild 1694 BLAKE2B 5fc3003fdde93f5d358af91b8e70483ad969f80 EBUILD mpfr-3.1.6.ebuild 1613 BLAKE2B 395a98c009ac37dd9a66d1f5d6dceed463571235164946e2c6dd5dc15dd25e967f0c4832f5743a3a22e563a292b5dd4469e0d7ee3f5a4de10fcd84c0746dee00 SHA512 c39187e26caddce22e50724f2045d4e170f640d62085a6d19efcbecd77bd55a6632bb2076c174ee1ed41770a335921c3ced75b6737a9234feef6527b21dc2f4b EBUILD mpfr-4.0.0-r1.ebuild 1720 BLAKE2B 33b420b5be1b09b18a5f3f99bc574b84d81cae9979d26e6f937056a206e8b817c6f995cc01318bf443bda82967e4f0f2d3703806bdcd7e9539c50fffa58d1270 SHA512 7d8c0fd531d8de2a533282171b3183b6f9d9e518fb620ff5bd1ad7ff94cb8b8a897a780b2fb680244e6b963c704d109ba92aa718904c5af8cef6c0ef0e966dd9 EBUILD mpfr-4.0.1.ebuild 1720 BLAKE2B 33b420b5be1b09b18a5f3f99bc574b84d81cae9979d26e6f937056a206e8b817c6f995cc01318bf443bda82967e4f0f2d3703806bdcd7e9539c50fffa58d1270 SHA512 7d8c0fd531d8de2a533282171b3183b6f9d9e518fb620ff5bd1ad7ff94cb8b8a897a780b2fb680244e6b963c704d109ba92aa718904c5af8cef6c0ef0e966dd9 +EBUILD mpfr-4.0.2.ebuild 1717 BLAKE2B a968d195fbda962ba195e65cc06e8f6a2dfb45443c8a0c669def2cec3f9266e16a6c4a1c9aa02397a4ed5e3bafb2cc2134fccc9ed519a4795346fae6631d58d1 SHA512 3a0b8f2fd1b0a65909bc0e07b3849223828a5b2df77b6dbe8dd6c38a11022092a8bf3759679eef7ac35bdc6bca983922e8ef9043eca5cbedca1f8730c240b660 MISC metadata.xml 257 BLAKE2B 468bd91200194cf2104205cb18f54d629954ed0d86d85a5d3e90af1942eb199d777a0ebc17d1f610f69326d3e0caa686255709f165466f5e0a675380373b30f9 SHA512 fd85d9cf15f6b7db96e4d184e32ae6f1503a5b70cb4cb1ce930ba13a1d5d4c4b24971781e95b7f3f9ead58b31760f84c368bc6fa2a793b4b5baf78259b047ff1 diff --git a/dev-libs/mpfr/mpfr-4.0.2.ebuild b/dev-libs/mpfr/mpfr-4.0.2.ebuild new file mode 100644 index 000000000000..02d1920bfc54 --- /dev/null +++ b/dev-libs/mpfr/mpfr-4.0.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# NOTE: we cannot depend on autotools here starting with gcc-4.3.x +inherit libtool multilib-minimal preserve-libs + +MY_PV=${PV/_p*} +MY_P=${PN}-${MY_PV} +PLEVEL=${PV/*p} +DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" +HOMEPAGE="https://www.mpfr.org/" +SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/6" # libmpfr.so version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.0.0[${MULTILIB_USEDEP},static-libs?]" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +HTML_DOCS=( doc/FAQ.html ) + +src_prepare() { + if [[ ${PLEVEL} != ${PV} ]] ; then + local i + for (( i = 1; i <= PLEVEL; ++i )) ; do + eapply "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) + done + fi + eapply_user + find . -type f -exec touch -r configure {} + + elibtoolize +} + +multilib_src_configure() { + # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 + ECONF_SOURCE=${S} \ + user_redefine_cc=yes \ + econf \ + --docdir="\$(datarootdir)/doc/${PF}" \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + rm "${ED}"/usr/share/doc/"${P}"/COPYING* + use static-libs || find "${ED}"/usr -name '*.la' -delete +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 4) +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 4) +} |