1 |
bicatali 08/06/02 08:21:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cfitsio-2.510-r2.ebuild |
5 |
Log: |
6 |
Better autotoolization with libtool for cfitsio-2.510, for consistency with newer versions. Fix license (mainly BSD with pieces of GPL-2). Dropped alpha, ppc and ppc64 keywords because of use of dev-lang/cfortran. |
7 |
(Portage version: 2.1.5.2) |
8 |
|
9 |
Revision Changes Path |
10 |
1.15 sci-libs/cfitsio/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.15&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.15&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?r1=1.14&r2=1.15 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v |
19 |
retrieving revision 1.14 |
20 |
retrieving revision 1.15 |
21 |
diff -u -r1.14 -r1.15 |
22 |
--- ChangeLog 31 May 2008 13:26:35 -0000 1.14 |
23 |
+++ ChangeLog 2 Jun 2008 08:21:45 -0000 1.15 |
24 |
@@ -1,6 +1,16 @@ |
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.14 2008/05/31 13:26:35 markusle Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.15 2008/06/02 08:21:45 bicatali Exp $ |
29 |
+ |
30 |
+*cfitsio-2.510-r2 (02 Jun 2008) |
31 |
+ |
32 |
+ 02 Jun 2008; Sébastien Fabbro <bicatali@g.o> |
33 |
+ +files/cfitsio-2.510-autotools.patch, +cfitsio-2.510-r2.ebuild: |
34 |
+ Better autotoolization with libtool for cfitsio-2.510, for consistency |
35 |
+ with newer versions. Fix license (mainly BSD with pieces of |
36 |
+ GPL-2). Dropped alpha, ppc and ppc64 keywords because of use of |
37 |
+ dev-lang/cfortran. |
38 |
+ |
39 |
|
40 |
31 May 2008; Markus Dittrich <markusle@g.o> |
41 |
cfitsio-2.510-r1.ebuild, cfitsio-3.006.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 sci-libs/cfitsio/cfitsio-2.510-r2.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-2.510-r2.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-2.510-r2.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: cfitsio-2.510-r2.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-2.510-r2.ebuild,v 1.1 2008/06/02 08:21:45 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="~amd64 ~hppa ~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 |