1 |
commit: 5d78a7e3075bcb7712c4668fe548623fc7c41612 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 7 01:15:06 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 7 01:15:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d78a7e3 |
7 |
|
8 |
dev-libs/mpfr: version bump to 3.1.4 |
9 |
|
10 |
dev-libs/mpfr/Manifest | 1 + |
11 |
dev-libs/mpfr/mpfr-3.1.4.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 55 insertions(+) |
13 |
|
14 |
diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest |
15 |
index ea8334d..3e5ba8c 100644 |
16 |
--- a/dev-libs/mpfr/Manifest |
17 |
+++ b/dev-libs/mpfr/Manifest |
18 |
@@ -1,3 +1,4 @@ |
19 |
DIST mpfr-2.4.2.tar.bz2 1077886 SHA256 c7e75a08a8d49d2082e4caee1591a05d11b9d5627514e678f02d66a124bcf2ba SHA512 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e WHIRLPOOL d08935d1c5cda48753ddbf98b3b0e87d911279d7fea24e6b210da7e2378f769f3b20babe96859601195d6a9811cf8297d239df53ad2cfa6d0a1bb7bb02ac6a29 |
20 |
DIST mpfr-3.1.2.tar.xz 1074388 SHA256 399d0f47ef6608cc01d29ed1b99c7faff36d9994c45f36f41ba250147100453b SHA512 8d594206afb2637ed39ad564d42c8c4d02b042b95925f5c6ec891e5cb87f7155195559c7ff477256a088ecaaa3c2b0d35a9d11a74ed526a1080d49b2950e5587 WHIRLPOOL 1e391888d9cecc71617e99eb841cafac536e703b12d46a53fdcf773cc2654c98ca6bde2358f997c8b7bfd832bdb0c395b224df8a460a8fb5b4ad6f2c2e092b17 |
21 |
DIST mpfr-3.1.3.tar.xz 1112096 SHA256 6835a08bd992c8257641791e9a6a2b35b02336c8de26d0a8577953747e514a16 SHA512 79846fd82974269aa48152c2b6dbcb2321130dc4d0f0ba2eb94d56619b177add9b2077ebf88b4382c56db19c4215910e5a252f216715c1eee40baa299da42eb4 WHIRLPOOL fba9174551511ffa0fed80d906c5282c095697e79ab9b6fdeb915b9a81f15e20290b3ae6aa7c9ee9ef10fa9c0f973d8a75e1a169aae43f87a28ca433a93c57ce |
22 |
+DIST mpfr-3.1.4.tar.xz 1122152 SHA256 761413b16d749c53e2bfd2b1dfaa3b027b0e793e404b90b5fbaeef60af6517f5 SHA512 4ef61708834efdea6b85258f46f1b25ce1c55b912f44b117d8c3d5e06d8f1177e50f627d9736f3289bd159c5bb10c80e09d1ad9f6f52c4ff43c3496034b04232 WHIRLPOOL 86021e6a60cad98ea42f8ab5bfe990a744ee21fbe89612e083dea43f7e981e84fcbc86de4a90e7a058c569b57b97359a29c9cf5252b960aa91f2247fb96c2743 |
23 |
|
24 |
diff --git a/dev-libs/mpfr/mpfr-3.1.4.ebuild b/dev-libs/mpfr/mpfr-3.1.4.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..50325e0 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/mpfr/mpfr-3.1.4.ebuild |
29 |
@@ -0,0 +1,54 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI="4" |
35 |
+ |
36 |
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x |
37 |
+inherit eutils libtool multilib-minimal |
38 |
+ |
39 |
+MY_PV=${PV/_p*} |
40 |
+MY_P=${PN}-${MY_PV} |
41 |
+PLEVEL=${PV/*p} |
42 |
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" |
43 |
+HOMEPAGE="http://www.mpfr.org/" |
44 |
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" |
45 |
+ |
46 |
+LICENSE="LGPL-2.1" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+IUSE="static-libs" |
50 |
+ |
51 |
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+ |
54 |
+S=${WORKDIR}/${MY_P} |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ if [[ ${PLEVEL} != ${PV} ]] ; then |
58 |
+ local i |
59 |
+ for (( i = 1; i <= PLEVEL; ++i )) ; do |
60 |
+ epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) |
61 |
+ done |
62 |
+ fi |
63 |
+ find . -type f -exec touch -r configure {} + |
64 |
+ elibtoolize |
65 |
+} |
66 |
+ |
67 |
+multilib_src_configure() { |
68 |
+ # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 |
69 |
+ ECONF_SOURCE=${S} \ |
70 |
+ user_redefine_cc=yes \ |
71 |
+ econf \ |
72 |
+ --docdir="\$(datarootdir)/doc/${PF}" \ |
73 |
+ $(use_enable static-libs static) |
74 |
+} |
75 |
+ |
76 |
+multilib_src_install_all() { |
77 |
+ use static-libs || find "${ED}"/usr -name '*.la' -delete |
78 |
+ |
79 |
+ # clean up html/license install |
80 |
+ pushd "${ED}"/usr/share/doc/${PF} >/dev/null |
81 |
+ dohtml *.html && rm COPYING* *.html || die |
82 |
+ popd >/dev/null |
83 |
+} |