From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/mpc: mpc-0.9-r1.ebuild ChangeLog |
Date: | Tue, 15 Nov 2011 03:35:24 |
Message-Id: | 20111115033512.17F3F20033@flycatcher.gentoo.org |
1 | vapier 11/11/15 03:35:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mpc-0.9-r1.ebuild |
5 | Log: |
6 | Add USE=static-libs support. |
7 | |
8 | (Portage version: 2.2.0_alpha74/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.30 dev-libs/mpc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpc/ChangeLog?rev=1.30&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpc/ChangeLog?rev=1.30&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpc/ChangeLog?r1=1.29&r2=1.30 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/mpc/ChangeLog,v |
20 | retrieving revision 1.29 |
21 | retrieving revision 1.30 |
22 | diff -u -r1.29 -r1.30 |
23 | --- ChangeLog 15 Apr 2011 09:27:58 -0000 1.29 |
24 | +++ ChangeLog 15 Nov 2011 03:35:12 -0000 1.30 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-libs/mpc |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/ChangeLog,v 1.29 2011/04/15 09:27:58 grobian Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/ChangeLog,v 1.30 2011/11/15 03:35:12 vapier Exp $ |
30 | + |
31 | +*mpc-0.9-r1 (15 Nov 2011) |
32 | + |
33 | + 15 Nov 2011; Mike Frysinger <vapier@g.o> +mpc-0.9-r1.ebuild: |
34 | + Add USE=static-libs support. |
35 | |
36 | 15 Apr 2011; Fabian Groffen <grobian@g.o> mpc-0.9.ebuild: |
37 | mpc-0.9 requires on Solaris a fix in GCC's fix-included headers, only |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/mpc/mpc-0.9-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpc/mpc-0.9-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mpc/mpc-0.9-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: mpc-0.9-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/mpc-0.9-r1.ebuild,v 1.1 2011/11/15 03:35:12 vapier Exp $ |
51 | |
52 | # Unconditional dependency of gcc. Keep this set to 0. |
53 | EAPI="0" |
54 | |
55 | inherit eutils libtool |
56 | |
57 | DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding." |
58 | HOMEPAGE="http://mpc.multiprecision.org/" |
59 | SRC_URI="http://www.multiprecision.org/mpc/download/${P}.tar.gz |
60 | mirror://gentoo/${P}-configure.patch.bz2" |
61 | |
62 | LICENSE="LGPL-2.1" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
65 | IUSE="static-libs" |
66 | |
67 | DEPEND=">=dev-libs/gmp-4.3.2 |
68 | >=dev-libs/mpfr-2.4.2 |
69 | elibc_SunOS? ( >=sys-devel/gcc-4.5 )" |
70 | RDEPEND="${DEPEND}" |
71 | |
72 | src_unpack() { |
73 | unpack ${A} |
74 | cd "${S}" |
75 | epatch "${WORKDIR}"/${P}-configure.patch |
76 | elibtoolize # for FreeMiNT, bug #347317 |
77 | } |
78 | |
79 | src_compile() { |
80 | econf $(use_enable static-libs static) || die |
81 | emake || die |
82 | } |
83 | |
84 | src_install() { |
85 | emake DESTDIR="${D}" install || die |
86 | use static-libs || rm "${D}"/usr/lib*/libmpc.la |
87 | dodoc ChangeLog NEWS README TODO |
88 | } |