1 |
vapier 14/11/01 07:24:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mpfr-3.1.2_p10.ebuild |
5 |
Log: |
6 |
Version bump. Add multilib support #510248 by Thibaud CANALE. |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.185 dev-libs/mpfr/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpfr/ChangeLog?rev=1.185&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpfr/ChangeLog?rev=1.185&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpfr/ChangeLog?r1=1.184&r2=1.185 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v |
20 |
retrieving revision 1.184 |
21 |
retrieving revision 1.185 |
22 |
diff -u -r1.184 -r1.185 |
23 |
--- ChangeLog 6 Jun 2014 19:58:16 -0000 1.184 |
24 |
+++ ChangeLog 1 Nov 2014 07:24:34 -0000 1.185 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-libs/mpfr |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.184 2014/06/06 19:58:16 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.185 2014/11/01 07:24:34 vapier Exp $ |
30 |
+ |
31 |
+*mpfr-3.1.2_p10 (01 Nov 2014) |
32 |
+ |
33 |
+ 01 Nov 2014; Mike Frysinger <vapier@g.o> +files/3.1.2/patch06, |
34 |
+ +files/3.1.2/patch07, +files/3.1.2/patch08, +files/3.1.2/patch09, |
35 |
+ +files/3.1.2/patch10, +mpfr-3.1.2_p10.ebuild: |
36 |
+ Version bump. Add multilib support #510248 by Thibaud CANALE. |
37 |
|
38 |
06 Jun 2014; Mike Frysinger <vapier@g.o> -mpfr-2.4.2_p3.ebuild, |
39 |
mpfr-2.4.2_p3-r1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/mpfr/mpfr-3.1.2_p10.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpfr/mpfr-3.1.2_p10.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpfr/mpfr-3.1.2_p10.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: mpfr-3.1.2_p10.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.2_p10.ebuild,v 1.1 2014/11/01 07:24:34 vapier Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
|
56 |
# NOTE: we cannot depend on autotools here starting with gcc-4.3.x |
57 |
inherit eutils libtool multilib multilib-minimal |
58 |
|
59 |
MY_PV=${PV/_p*} |
60 |
MY_P=${PN}-${MY_PV} |
61 |
PLEVEL=${PV/*p} |
62 |
DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" |
63 |
HOMEPAGE="http://www.mpfr.org/" |
64 |
SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" |
65 |
|
66 |
LICENSE="LGPL-2.1" |
67 |
SLOT="0" |
68 |
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" |
69 |
IUSE="static-libs" |
70 |
|
71 |
RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]" |
72 |
DEPEND="${RDEPEND}" |
73 |
|
74 |
S=${WORKDIR}/${MY_P} |
75 |
|
76 |
src_prepare() { |
77 |
if [[ ${PLEVEL} != ${PV} ]] ; then |
78 |
local i |
79 |
for (( i = 1; i <= PLEVEL; ++i )) ; do |
80 |
epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) |
81 |
done |
82 |
fi |
83 |
find . -type f -exec touch -r configure {} + |
84 |
elibtoolize |
85 |
} |
86 |
|
87 |
multilib_src_configure() { |
88 |
# Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 |
89 |
ECONF_SOURCE=${S} \ |
90 |
user_redefine_cc=yes \ |
91 |
econf \ |
92 |
--docdir="\$(datarootdir)/doc/${PF}" \ |
93 |
$(use_enable static-libs static) |
94 |
} |
95 |
|
96 |
multilib_src_install_all() { |
97 |
use static-libs || find "${ED}"/usr -name '*.la' -delete |
98 |
|
99 |
# clean up html/license install |
100 |
pushd "${ED}"/usr/share/doc/${PF} >/dev/null |
101 |
dohtml *.html && rm COPYING* *.html || die |
102 |
popd >/dev/null |
103 |
} |
104 |
|
105 |
pkg_preinst() { |
106 |
preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 1) |
107 |
} |
108 |
|
109 |
pkg_postinst() { |
110 |
preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 1) |
111 |
} |