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-astronomy/wcslib: wcslib-4.12.ebuild ChangeLog wcslib-4.8.4.ebuild wcslib-4.10.ebuild
Date: Fri, 02 Mar 2012 05:41:38
Message-Id: 20120302054128.A113B2004B@flycatcher.gentoo.org
1 bicatali 12/03/02 05:41:28
2
3 Modified: ChangeLog
4 Added: wcslib-4.12.ebuild
5 Removed: wcslib-4.8.4.ebuild wcslib-4.10.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.1.10.44/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.26 sci-astronomy/wcslib/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.26&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.26&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?r1=1.25&r2=1.26
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v
21 retrieving revision 1.25
22 retrieving revision 1.26
23 diff -u -r1.25 -r1.26
24 --- ChangeLog 26 Feb 2012 21:09:54 -0000 1.25
25 +++ ChangeLog 2 Mar 2012 05:41:28 -0000 1.26
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-astronomy/wcslib
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.25 2012/02/26 21:09:54 xarthisius Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.26 2012/03/02 05:41:28 bicatali Exp $
31 +
32 +*wcslib-4.12 (02 Mar 2012)
33 +
34 + 02 Mar 2012; Sébastien Fabbro <bicatali@g.o> -wcslib-4.8.4.ebuild,
35 + -wcslib-4.10.ebuild, +wcslib-4.12.ebuild:
36 + Version bump
37
38 *wcslib-4.11 (26 Feb 2012)
39
40
41
42
43 1.1 sci-astronomy/wcslib/wcslib-4.12.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.12.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.12.ebuild?rev=1.1&content-type=text/plain
47
48 Index: wcslib-4.12.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-astronomy/wcslib/wcslib-4.12.ebuild,v 1.1 2012/03/02 05:41:28 bicatali Exp $
53
54 EAPI=4
55
56 inherit eutils fortran-2
57
58 DESCRIPTION="Astronomical World Coordinate System transformations library"
59 HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
60 SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2"
61
62 SLOT="0"
63 LICENSE="LGPL-3"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="fortran fits pgplot static-libs"
66
67 RDEPEND="fortran? ( virtual/fortran )
68 fits? ( sci-libs/cfitsio )
69 pgplot? ( sci-libs/pgplot )"
70 DEPEND="${RDEPEND}"
71
72 pkg_setup() {
73 use fortran && fortran-2_pkg_setup
74 }
75
76 src_prepare() {
77 sed -i -e 's/COPYING\*//' GNUmakefile || die
78 }
79
80 src_configure() {
81 econf \
82 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
83 $(use_enable static-libs static) \
84 $(use_enable fortran) \
85 $(use_with fits cfitsio) \
86 $(use_with pgplot)
87 }
88
89 src_compile() {
90 # nasty makefile, debugging means full rewrite
91 emake -j1
92 }
93
94 src_test() {
95 emake -j1 check
96 }
97
98 src_install () {
99 default
100 # static libs are same as shared (compiled with PIC)
101 # so they are not compiled twice
102 use static-libs || rm -f "${ED}"/usr/$(get_libdir)/lib*.a
103 }