Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/ppl: ChangeLog ppl-0.10-r1.ebuild
Date: Sat, 31 Jan 2009 19:08:06
Message-Id: E1LTLCF-0001im-04@stork.gentoo.org
1 dirtyepic 09/01/31 19:08:02
2
3 Modified: ChangeLog
4 Added: ppl-0.10-r1.ebuild
5 Log:
6 Revision bump. Add missing dependency on GMP with C++ extensions. Fix
7 unwanted dependencies being autodectected by configure. Add doc USE flag
8 and fix docs installing into the wrong place.
9 (Portage version: 2.2_rc23/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.5 dev-libs/ppl/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ppl/ChangeLog?rev=1.5&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ppl/ChangeLog?rev=1.5&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ppl/ChangeLog?r1=1.4&r2=1.5
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/ppl/ChangeLog,v
21 retrieving revision 1.4
22 retrieving revision 1.5
23 diff -u -r1.4 -r1.5
24 --- ChangeLog 1 Dec 2008 16:52:10 -0000 1.4
25 +++ ChangeLog 31 Jan 2009 19:08:02 -0000 1.5
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-libs/ppl
28 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ChangeLog,v 1.4 2008/12/01 16:52:10 vapier Exp $
30 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ChangeLog,v 1.5 2009/01/31 19:08:02 dirtyepic Exp $
32 +
33 +*ppl-0.10-r1 (31 Jan 2009)
34 +
35 + 31 Jan 2009; Ryan Hill <dirtyepic@g.o> +ppl-0.10-r1.ebuild:
36 + Revision bump. Add missing dependency on GMP with C++ extensions. Fix
37 + unwanted dependencies being autodectected by configure. Add doc USE flag
38 + and fix docs installing into the wrong place.
39
40 01 Dec 2008; Mike Frysinger <vapier@g.o> ppl-0.10.ebuild:
41 Fix typo pointed out by Sigmatador.
42
43
44
45 1.1 dev-libs/ppl/ppl-0.10-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ppl/ppl-0.10-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ppl/ppl-0.10-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: ppl-0.10-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ppl-0.10-r1.ebuild,v 1.1 2009/01/31 19:08:02 dirtyepic Exp $
55
56 EAPI=2
57
58 DESCRIPTION="The Parma Polyhedra Library (PPL) is a modern and reasonably complete library providing numerical abstractions especially targeted at applications in the field of analysis and verification of complex systems"
59 HOMEPAGE="http://www.cs.unipr.it/ppl/"
60 SRC_URI="http://www.cs.unipr.it/ppl/Download/ftp/releases/${PV}/${P}.tar.bz2
61 ftp://ftp.cs.unipr.it/pub/ppl/releases/${PV}/${P}.tar.bz2"
62
63 LICENSE="GPL-3"
64 SLOT="0"
65 KEYWORDS="~amd64 ~mips ~x86"
66 IUSE="doc prolog"
67
68 RDEPEND="prolog? ( dev-lang/swi-prolog )
69 >=dev-libs/gmp-4.1.3[-nocxx]"
70 DEPEND="${RDEPEND}
71 sys-devel/m4"
72
73
74 src_configure() {
75
76 use prolog && want_prolog="swi_prolog"
77
78 econf \
79 --docdir=/usr/share/doc/${PF} \
80 --disable-debugging \
81 --disable-optimization \
82 --enable-interfaces="c cxx ${want_prolog}" \
83 || die
84 }
85
86
87 src_install() {
88
89 emake DESTDIR="${D}" install || die "emake install failed"
90
91 if use doc; then
92 cd "${D}"/usr/share/doc/${PF}
93 mkdir ppl ppl-watchdog
94 # the library docs get installed into ${DOCDIR}/ppl/
95 # move them to the right place
96 mv * ppl-watchdog
97 mv ../ppl .
98 prepalldocs
99 else
100 rm -rf "${D}"/usr/share/doc/${PN}
101 rm -rf "${D}"/usr/share/doc/${PF}
102 fi
103
104 dodoc NEWS README README.configure STANDARDS TODO
105 }