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