1 |
bicatali 10/09/08 22:59:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cfitsio-3.250-r1.ebuild |
5 |
Log: |
6 |
Drastically improved autotools patch, now include more tests, less automagic. Also switched to autotools-utils eclass |
7 |
|
8 |
(Portage version: 2.2_rc77/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.45 sci-libs/cfitsio/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.45&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.45&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/ChangeLog?r1=1.44&r2=1.45 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v |
20 |
retrieving revision 1.44 |
21 |
retrieving revision 1.45 |
22 |
diff -u -r1.44 -r1.45 |
23 |
--- ChangeLog 14 Jun 2010 18:08:25 -0000 1.44 |
24 |
+++ ChangeLog 8 Sep 2010 22:59:01 -0000 1.45 |
25 |
@@ -1,6 +1,13 @@ |
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.44 2010/06/14 18:08:25 bicatali Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.45 2010/09/08 22:59:01 bicatali Exp $ |
30 |
+ |
31 |
+*cfitsio-3.250-r1 (08 Sep 2010) |
32 |
+ |
33 |
+ 08 Sep 2010; Sébastien Fabbro <bicatali@g.o> |
34 |
+ +cfitsio-3.250-r1.ebuild: |
35 |
+ Drastically improved autotools patch, now include more tests, less |
36 |
+ automagic. Also switched to autotools-utils eclass |
37 |
|
38 |
*cfitsio-3.250 (14 Jun 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-libs/cfitsio/cfitsio-3.250-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/cfitsio-3.250-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cfitsio/cfitsio-3.250-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cfitsio-3.250-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 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.250-r1.ebuild,v 1.1 2010/09/08 22:59:01 bicatali Exp $ |
53 |
|
54 |
EAPI=2 |
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="mirror://gentoo/${P}.tar.gz" |
60 |
|
61 |
LICENSE="BSD GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="doc fortran static-libs threads" |
65 |
|
66 |
DEPEND="fortran? ( dev-lang/cfortran )" |
67 |
RDEPEND="" |
68 |
|
69 |
src_prepare() { |
70 |
# avoid internal cfortran |
71 |
if use fortran; then |
72 |
mv cfortran.h cfortran.h.disabled |
73 |
ln -s /usr/include/cfortran.h . |
74 |
fi |
75 |
autotools-utils_src_prepare |
76 |
} |
77 |
|
78 |
src_configure() { |
79 |
myeconfargs=( |
80 |
$(use_enable threads) |
81 |
$(use_enable fortran) |
82 |
) |
83 |
autotools-utils_src_configure |
84 |
} |
85 |
|
86 |
src_install () { |
87 |
insinto /usr/share/doc/${PF}/examples |
88 |
doins cookbook.c testprog.c speed.c smem.c |
89 |
use fortran && doins cookbook.f testf77.f && dodoc fitsio.doc |
90 |
dodoc changes.txt README cfitsio.doc |
91 |
if use doc; then |
92 |
insinto /usr/share/doc/${PF} |
93 |
doins quick.ps cfitsio.ps fpackguide.pdf |
94 |
use fortran && doins fitsio.ps |
95 |
fi |
96 |
autotools-utils_src_install |
97 |
} |