From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/cln: cln-1.3.2.ebuild ChangeLog |
Date: | Mon, 13 Jun 2011 21:40:08 |
Message-Id: | 20110613213956.D9C9120054@flycatcher.gentoo.org |
1 | bicatali 11/06/13 21:39:56 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cln-1.3.2.ebuild |
5 | Log: |
6 | Version bump. Switched to EAPI4. Added static-libs flag |
7 | |
8 | (Portage version: 2.1.10.2/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.52 sci-libs/cln/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cln/ChangeLog?rev=1.52&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cln/ChangeLog?rev=1.52&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cln/ChangeLog?r1=1.51&r2=1.52 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-libs/cln/ChangeLog,v |
20 | retrieving revision 1.51 |
21 | retrieving revision 1.52 |
22 | diff -u -r1.51 -r1.52 |
23 | --- ChangeLog 15 Oct 2010 09:53:27 -0000 1.51 |
24 | +++ ChangeLog 13 Jun 2011 21:39:56 -0000 1.52 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-libs/cln |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/ChangeLog,v 1.51 2010/10/15 09:53:27 maekke Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/ChangeLog,v 1.52 2011/06/13 21:39:56 bicatali Exp $ |
31 | + |
32 | +*cln-1.3.2 (13 Jun 2011) |
33 | + |
34 | + 13 Jun 2011; Sébastien Fabbro <bicatali@g.o> +cln-1.3.2.ebuild: |
35 | + Version bump. Switched to EAPI4. Added static-libs flag |
36 | |
37 | 15 Oct 2010; Markus Meier <maekke@g.o> cln-1.3.1.ebuild: |
38 | add ~arm |
39 | |
40 | |
41 | |
42 | 1.1 sci-libs/cln/cln-1.3.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cln/cln-1.3.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cln/cln-1.3.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: cln-1.3.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/cln-1.3.2.ebuild,v 1.1 2011/06/13 21:39:56 bicatali Exp $ |
52 | |
53 | EAPI=4 |
54 | inherit eutils flag-o-matic |
55 | |
56 | DESCRIPTION="Class library (C++) for numbers" |
57 | HOMEPAGE="http://www.ginac.de/CLN/" |
58 | SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${P}.tar.bz2" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="1" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
63 | IUSE="doc examples static-libs" |
64 | |
65 | DEPEND="dev-libs/gmp |
66 | doc? ( virtual/latex-base )" |
67 | RDEPEND="${DEPEND}" |
68 | |
69 | pkg_setup() { |
70 | use sparc && append-cppflags "-DNO_ASM" |
71 | use hppa && append-cppflags "-DNO_ASM" |
72 | use arm && append-cppflags "-DNO_ASM" |
73 | } |
74 | |
75 | src_prepare() { |
76 | # avoid building examples |
77 | # do it in Makefile.in to avoid time consuming eautoreconf |
78 | sed -i -e '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' Makefile.in || die |
79 | } |
80 | |
81 | src_configure () { |
82 | econf \ |
83 | --datadir="${EPREFIX}"/usr/share/doc/${PF} \ |
84 | $(use_enable static-libs static) |
85 | } |
86 | src_compile() { |
87 | emake |
88 | use doc && emake html pdf |
89 | } |
90 | |
91 | src_install () { |
92 | default |
93 | use doc && dodoc doc/cln.pdf && dohtml doc/* |
94 | if use examples; then |
95 | insinto /usr/share/doc/${PF}/examples |
96 | doins examples/*.cc |
97 | fi |
98 | } |