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