Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-astronomy/cpl: ChangeLog cpl-5.2.0-r1.ebuild cpl-5.2.0.ebuild
Date: Mon, 06 Sep 2010 10:56:42
Message-Id: 20100906105626.3F60520051@flycatcher.gentoo.org
1 xarthisius 10/09/06 10:56:26
2
3 Modified: ChangeLog
4 Added: cpl-5.2.0-r1.ebuild
5 Removed: cpl-5.2.0.ebuild
6 Log:
7 Respect LDFLAGS wrt bug 336189. Thanks to Diego for the report.
8
9 (Portage version: 2.2_rc73/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 sci-astronomy/cpl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/cpl/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/cpl/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/cpl/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/cpl/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 26 May 2010 19:02:45 -0000 1.1
25 +++ ChangeLog 6 Sep 2010 10:56:26 -0000 1.2
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-astronomy/cpl
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cpl/ChangeLog,v 1.1 2010/05/26 19:02:45 bicatali Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cpl/ChangeLog,v 1.2 2010/09/06 10:56:26 xarthisius Exp $
31 +
32 +*cpl-5.2.0-r1 (06 Sep 2010)
33 +
34 + 06 Sep 2010; Kacper Kowalik <xarthisius@g.o> -cpl-5.2.0.ebuild,
35 + +cpl-5.2.0-r1.ebuild:
36 + Respect LDFLAGS wrt bug 336189. Thanks to Diego for the report.
37
38 *cpl-5.2.0 (26 May 2010)
39
40
41
42
43 1.1 sci-astronomy/cpl/cpl-5.2.0-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/cpl/cpl-5.2.0-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/cpl/cpl-5.2.0-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: cpl-5.2.0-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cpl/cpl-5.2.0-r1.ebuild,v 1.1 2010/09/06 10:56:26 xarthisius Exp $
53
54 EAPI=2
55 JAVA_PKG_OPT_USE=gasgano
56 inherit java-pkg-opt-2
57
58 DESCRIPTION="ESO common pipeline library for astronomical data reduction"
59 HOMEPAGE="http://www.eso.org/sci/data-processing/software/cpl/"
60 SRC_URI="ftp://ftp.eso.org/pub/${PN}/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65
66 IUSE="doc gasgano"
67
68 RDEPEND=">=sci-libs/cfitsio-3.09
69 sci-astronomy/wcslib
70 sci-libs/fftw:3.0
71 gasgano? ( sci-astronomy/gasgano )"
72 DEPEND="${RDEPEND}
73 sys-devel/libtool
74 doc? ( app-doc/doxygen )
75 gasgano? ( >=virtual/jdk-1.5 )"
76
77 src_configure() {
78 local myconf="--without-gasgano"
79 use gasgano && \
80 myconf="--with-gasgano=/usr
81 --with-gasgano-classpath=/usr/share/gasgano/lib"
82 econf \
83 --with-cfitsio="/usr" \
84 --with-wcs="/usr" \
85 --with-fftw="/usr" \
86 ${myconf}
87 }
88
89 src_compile() {
90 emake LDFLAGS="${LDFLAGS}" || die #336189
91 if use doc; then
92 doxygen Doxyfile || die
93 fi
94 }
95 src_install() {
96 emake DESTDIR="${D}" install || die
97 dodoc README AUTHORS NEWS TODO BUGS ChangeLog || die
98 if use doc; then
99 insinto /usr/share/doc/${PF}
100 doins -r html || die
101 fi
102 }