1 |
bicatali 10/02/01 22:10:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cfitsio-3.240.ebuild |
5 |
Removed: cfitsio-3.210.ebuild cfitsio-3.230.ebuild |
6 |
Log: |
7 |
Version bump. Removed some older buggy versions |
8 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.43 sci-libs/cfitsio/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.43&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.43&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?r1=1.42&r2=1.43 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v |
20 |
retrieving revision 1.42 |
21 |
retrieving revision 1.43 |
22 |
diff -u -r1.42 -r1.43 |
23 |
--- ChangeLog 20 Jan 2010 01:48:34 -0000 1.42 |
24 |
+++ ChangeLog 1 Feb 2010 22:10:50 -0000 1.43 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sci-libs/cfitsio |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.42 2010/01/20 01:48:34 bicatali Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.43 2010/02/01 22:10:50 bicatali Exp $ |
30 |
+ |
31 |
+*cfitsio-3.240 (01 Feb 2010) |
32 |
+ |
33 |
+ 01 Feb 2010; Sébastien Fabbro <bicatali@g.o> |
34 |
+ -cfitsio-3.210.ebuild, -files/cfitsio-3.210-autotools.patch, |
35 |
+ -cfitsio-3.230.ebuild, -files/cfitsio-3.230-autotools.patch, |
36 |
+ +cfitsio-3.240.ebuild, +files/cfitsio-3.240-autotools.patch: |
37 |
+ Version bump. Removed some older buggy versions |
38 |
|
39 |
*cfitsio-3.230 (20 Jan 2010) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-libs/cfitsio/cfitsio-3.240.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.240.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.240.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: cfitsio-3.240.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.240.ebuild,v 1.1 2010/02/01 22:10:50 bicatali Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
inherit eutils 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 threads" |
66 |
|
67 |
DEPEND="fortran? ( dev-lang/cfortran )" |
68 |
RDEPEND="" |
69 |
|
70 |
S="${WORKDIR}/${PN}" |
71 |
|
72 |
src_prepare() { |
73 |
# avoid internal cfortran |
74 |
if use fortran; then |
75 |
mv cfortran.h cfortran.h.disabled |
76 |
ln -s /usr/include/cfortran.h . |
77 |
fi |
78 |
epatch "${FILESDIR}"/${P}-autotools.patch |
79 |
eautoreconf |
80 |
} |
81 |
|
82 |
src_configure() { |
83 |
econf \ |
84 |
$(use_enable threads) \ |
85 |
$(use_enable fortran) |
86 |
} |
87 |
|
88 |
src_install () { |
89 |
emake DESTDIR="${D}" install || die "emake install failed" |
90 |
dodoc changes.txt README cfitsio.doc || die "dodoc failed" |
91 |
insinto /usr/share/doc/${PF}/examples |
92 |
doins cookbook.c testprog.c speed.c smem.c || die "install examples failed" |
93 |
use fortran && dodoc fitsio.doc && doins cookbook.f |
94 |
if use doc; then |
95 |
insinto /usr/share/doc/${PF} |
96 |
doins quick.ps cfitsio.ps fpackguide.pdf |
97 |
use fortran && doins fitsio.ps |
98 |
fi |
99 |
} |