From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/cfitsio: cfitsio-3.300.ebuild ChangeLog cfitsio-3.280.ebuild cfitsio-3.270.ebuild |
Date: | Sat, 07 Jul 2012 22:27:07 |
Message-Id: | 20120707222655.AE1FF20063@flycatcher.gentoo.org |
1 | bicatali 12/07/07 22:26:55 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cfitsio-3.300.ebuild |
5 | Removed: cfitsio-3.280.ebuild cfitsio-3.270.ebuild |
6 | Log: |
7 | Version bump. Added examples flag |
8 | |
9 | (Portage version: 2.2.01.20430-prefix/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.54 sci-libs/cfitsio/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.54&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.54&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/ChangeLog?r1=1.53&r2=1.54 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v |
21 | retrieving revision 1.53 |
22 | retrieving revision 1.54 |
23 | diff -u -r1.53 -r1.54 |
24 | --- ChangeLog 3 Apr 2012 16:54:07 -0000 1.53 |
25 | +++ ChangeLog 7 Jul 2012 22:26:55 -0000 1.54 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for sci-libs/cfitsio |
28 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.53 2012/04/03 16:54:07 bicatali Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.54 2012/07/07 22:26:55 bicatali Exp $ |
31 | + |
32 | +*cfitsio-3.300 (07 Jul 2012) |
33 | + |
34 | + 07 Jul 2012; Sébastien Fabbro <bicatali@g.o> +cfitsio-3.300.ebuild, |
35 | + -cfitsio-3.270.ebuild, -cfitsio-3.280.ebuild: |
36 | + Version bump. Added examples flag |
37 | |
38 | *cfitsio-3.290 (03 Apr 2012) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 sci-libs/cfitsio/cfitsio-3.300.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/cfitsio-3.300.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/cfitsio-3.300.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: cfitsio-3.300.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.300.ebuild,v 1.1 2012/07/07 22:26:55 bicatali Exp $ |
53 | |
54 | EAPI=4 |
55 | inherit autotools-utils |
56 | |
57 | DESCRIPTION="C and Fortran library for manipulating FITS files" |
58 | HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" |
59 | SRC_URI="http://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz" |
60 | |
61 | LICENSE="BSD" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" |
64 | IUSE="doc examples fortran static-libs +tools threads" |
65 | |
66 | RDEPEND="sys-libs/zlib" |
67 | DEPEND="${RDEPEND} |
68 | fortran? ( dev-lang/cfortran )" |
69 | |
70 | src_prepare() { |
71 | # avoid internal cfortran |
72 | if use fortran; then |
73 | mv cfortran.h cfortran.h.disabled |
74 | ln -s "${EPREFIX}"/usr/include/cfortran.h . |
75 | fi |
76 | autotools-utils_src_prepare |
77 | } |
78 | |
79 | src_configure() { |
80 | myeconfargs=( |
81 | $(use_enable fortran) |
82 | $(use_enable threads) |
83 | $(use_enable tools) |
84 | ) |
85 | autotools-utils_src_configure |
86 | } |
87 | |
88 | src_install () { |
89 | autotools-utils_src_install |
90 | dodoc changes.txt README* cfitsio.doc Changes.rst |
91 | use fortran && dodoc fitsio.doc |
92 | use doc && dodoc quick.pdf cfitsio.pdf fpackguide.pdf |
93 | use doc && use fortran && dodoc fitsio.pdf |
94 | if use examples; then |
95 | insinto /usr/share/doc/${PF}/examples |
96 | doins cookbook.c testprog.c speed.c smem.c |
97 | use fortran && doins cookbook.f testf77.f |
98 | fi |
99 | } |