Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-astronomy/scamp: ChangeLog scamp-1.6.2.ebuild scamp-1.4.6.ebuild
Date: Wed, 04 Nov 2009 00:45:35
Message-Id: E1N5U0C-0000WG-Ic@stork.gentoo.org
1 bicatali 09/11/04 00:45:32
2
3 Modified: ChangeLog
4 Added: scamp-1.6.2.ebuild
5 Removed: scamp-1.4.6.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc48/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.5 sci-astronomy/scamp/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/scamp/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/scamp/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/scamp/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/scamp/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 28 Jul 2009 17:41:43 -0000 1.4
24 +++ ChangeLog 4 Nov 2009 00:45:32 -0000 1.5
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-astronomy/scamp
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/scamp/ChangeLog,v 1.4 2009/07/28 17:41:43 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/scamp/ChangeLog,v 1.5 2009/11/04 00:45:32 bicatali Exp $
30 +
31 +*scamp-1.6.2 (04 Nov 2009)
32 +
33 + 04 Nov 2009; Sébastien Fabbro <bicatali@g.o> -scamp-1.4.6.ebuild,
34 + +scamp-1.6.2.ebuild:
35 + Version bump
36
37 28 Jul 2009; Sébastien Fabbro <bicatali@g.o> scamp-1.5.5.ebuild:
38 Updated license to CeCILL-2
39
40
41
42 1.1 sci-astronomy/scamp/scamp-1.6.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/scamp/scamp-1.6.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/scamp/scamp-1.6.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: scamp-1.6.2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/scamp/scamp-1.6.2.ebuild,v 1.1 2009/11/04 00:45:32 bicatali Exp $
52
53 EAPI=2
54 inherit eutils autotools
55
56 DESCRIPTION="Computes astrometric and photometric solutions for astronomical images"
57 HOMEPAGE="http://astromatic.iap.fr/software/scamp"
58 SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz"
59
60 LICENSE="CeCILL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="doc threads plplot"
64
65 RDEPEND="sci-astronomy/cdsclient
66 virtual/cblas
67 >=sci-libs/lapack-atlas-3.8.0
68 sci-libs/fftw:3.0
69 plplot? ( >=sci-libs/plplot-5.9 )"
70 DEPEND="${RDEPEND}
71 dev-util/pkgconfig"
72
73 src_prepare() {
74 #epatch "${FILESDIR}"/${P}-autotools.patch
75 # gentoo uses cblas instead of ptcblas (linked to threaded with eselect)
76 sed -i \
77 -e 's/ptcblas/cblas/g' \
78 acx_atlas.m4 || die "sed acx_atlas.m4 failed"
79 eautoreconf
80 }
81
82 src_configure() {
83 econf \
84 --with-atlas="/usr/$(get_libdir)/lapack/atlas" \
85 $(use_with plplot) \
86 $(use_enable threads)
87 }
88
89 src_install () {
90 emake DESTDIR="${D}" install || die "emake install failed"
91 dodoc AUTHORS ChangeLog HISTORY README THANKS BUGS
92 if use doc; then
93 insinto /usr/share/doc/${PF}
94 doins doc/*.pdf || die "pdf doc install failed"
95 fi
96 }