From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/geos: ChangeLog geos-3.0.3.ebuild |
Date: | Thu, 27 Nov 2008 11:37:00 |
Message-Id: | E1L5fB3-0005sJ-72@stork.gentoo.org |
1 | bicatali 08/11/27 11:36:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: geos-3.0.3.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.31 sci-libs/geos/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.31&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.31&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/geos/ChangeLog?r1=1.30&r2=1.31 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v |
19 | retrieving revision 1.30 |
20 | retrieving revision 1.31 |
21 | diff -u -r1.30 -r1.31 |
22 | --- ChangeLog 2 Jul 2008 16:51:29 -0000 1.30 |
23 | +++ ChangeLog 27 Nov 2008 11:36:57 -0000 1.31 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sci-libs/geos |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.30 2008/07/02 16:51:29 bicatali Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.31 2008/11/27 11:36:57 bicatali Exp $ |
29 | + |
30 | +*geos-3.0.3 (27 Nov 2008) |
31 | + |
32 | + 27 Nov 2008; Sébastien Fabbro <bicatali@g.o> |
33 | + +files/geos-3.0.3-test.patch, +geos-3.0.3.ebuild: |
34 | + Version bump |
35 | |
36 | 02 Jul 2008; Sébastien Fabbro <bicatali@g.o> |
37 | +files/geos-2.2.3-gcc43.patch, geos-2.2.3.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 sci-libs/geos/geos-3.0.3.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/geos/geos-3.0.3.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/geos/geos-3.0.3.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: geos-3.0.3.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-3.0.3.ebuild,v 1.1 2008/11/27 11:36:57 bicatali Exp $ |
51 | |
52 | inherit eutils |
53 | |
54 | DESCRIPTION="Geometry engine library for Geographic Information Systems" |
55 | HOMEPAGE="http://geos.refractions.net" |
56 | SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2" |
57 | |
58 | LICENSE="GPL-2" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
61 | IUSE="doc python ruby" |
62 | |
63 | RDEPEND="ruby? ( virtual/ruby ) |
64 | python? ( virtual/python )" |
65 | DEPEND="${RDEPEND} |
66 | doc? ( app-doc/doxygen )\ |
67 | ruby? ( >=dev-lang/swig-1.3.29 ) |
68 | python? ( >=dev-lang/swig-1.3.29 )" |
69 | |
70 | src_unpack() { |
71 | unpack ${A} |
72 | cd "${S}" |
73 | epatch "${FILESDIR}"/${P}-test.patch |
74 | } |
75 | |
76 | src_compile() { |
77 | local myconf |
78 | |
79 | if ! use python && ! use ruby ; then |
80 | myconf="--disable-swig" |
81 | fi |
82 | |
83 | econf ${myconf} \ |
84 | $(use_enable python) \ |
85 | $(use_enable ruby) |
86 | emake || die "emake failed" |
87 | if use doc; then |
88 | cd "${S}/doc" |
89 | emake doxygen-html || die "doc generation failed" |
90 | fi |
91 | } |
92 | |
93 | src_install() { |
94 | emake DESTDIR="${D}" install || die "emake install failed" |
95 | dodoc AUTHORS NEWS README TODO || die |
96 | if use doc; then |
97 | cd "${S}/doc" |
98 | dohtml -r doxygen_docs/html/* || die |
99 | fi |
100 | } |