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-libs/cfitsio: ChangeLog cfitsio-3.090.ebuild cfitsio-3.006.ebuild cfitsio-3.060.ebuild
Date: Wed, 18 Jun 2008 21:48:03
Message-Id: E1K95VV-0001rf-SW@stork.gentoo.org
1 bicatali 08/06/18 21:47:57
2
3 Modified: ChangeLog
4 Added: cfitsio-3.090.ebuild
5 Removed: cfitsio-3.006.ebuild cfitsio-3.060.ebuild
6 Log:
7 Version bump, removed some older versions
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.20 sci-libs/cfitsio/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 13 Jun 2008 07:11:19 -0000 1.19
24 +++ ChangeLog 18 Jun 2008 21:47:57 -0000 1.20
25 @@ -1,6 +1,15 @@
26 # ChangeLog for sci-libs/cfitsio
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.19 2008/06/13 07:11:19 wormo Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.20 2008/06/18 21:47:57 bicatali Exp $
30 +
31 +*cfitsio-3.090 (18 Jun 2008)
32 +
33 + 18 Jun 2008; Sébastien Fabbro <bicatali@g.o>
34 + -files/cfitsio-3.006-configure.patch,
35 + -files/cfitsio-3.060-autotools.patch,
36 + +files/cfitsio-3.090-autotools.patch, -cfitsio-3.006.ebuild,
37 + -cfitsio-3.060.ebuild, +cfitsio-3.090.ebuild:
38 + Version bump, removed some older versions
39
40 13 Jun 2008; Stephanie Lockwood-Childs <wormo@g.o>
41 cfitsio-2.510-r2.ebuild, cfitsio-3.080.ebuild:
42
43
44
45 1.1 sci-libs/cfitsio/cfitsio-3.090.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.090.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.090.ebuild?rev=1.1&content-type=text/plain
49
50 Index: cfitsio-3.090.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.090.ebuild,v 1.1 2008/06/18 21:47:57 bicatali Exp $
55
56 inherit eutils fortran autotools
57
58 DESCRIPTION="C and Fortran library for manipulating FITS files"
59 HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
60 SRC_URI="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${PN}${PV//.}.tar.gz"
61
62 LICENSE="BSD GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
65 IUSE="doc fortran"
66
67 DEPEND="fortran? ( dev-lang/cfortran )"
68 RDEPEND=""
69
70 S="${WORKDIR}/${PN}"
71
72 pkg_setup() {
73 if use fortran; then
74 FORTRAN="gfortran g77 ifc"
75 fortran_pkg_setup
76 fi
77 }
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82 # avoid internal cfortran
83 if use fortran; then
84 sed -i \
85 -e 's:"cfortran.h":<cfortran.h>:' \
86 f77_wrap.h || die "sed fortran failed"
87 mv cfortran.h cfortran.h.disabled
88 fi
89 epatch "${FILESDIR}"/${P}-autotools.patch
90 eautoreconf
91 }
92
93 src_compile() {
94 econf $(use_enable fortran) || die "econf failed"
95 emake || die "emake failed"
96 }
97
98 src_install () {
99 emake DESTDIR="${D}" install || die "emake install failed"
100 dodoc changes.txt README cfitsio.doc || die "dodoc failed"
101 insinto /usr/share/doc/${PF}/examples
102 doins cookbook.c testprog.c speed.c smem.c || die "install examples failed"
103 use doc && dodoc cfitsio.ps quick.ps
104 if use fortran; then
105 doins cookbook.f || die "install cookbook failed"
106 dodoc fitsio.doc
107 use doc && dodoc fitsio.ps
108 fi
109 }
110
111
112
113 --
114 gentoo-commits@l.g.o mailing list