Gentoo Archives: gentoo-commits

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