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.13.4.ebuild ChangeLog
Date: Thu, 05 Apr 2012 20:42:58
Message-Id: 20120405204248.3CCA42004B@flycatcher.gentoo.org
1 xarthisius 12/04/05 20:42:48
2
3 Modified: ChangeLog
4 Added: wcslib-4.13.4.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha94/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.28 sci-astronomy/wcslib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 25 Mar 2012 09:24:08 -0000 1.27
24 +++ ChangeLog 5 Apr 2012 20:42:48 -0000 1.28
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.27 2012/03/25 09:24:08 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.28 2012/04/05 20:42:48 xarthisius Exp $
30 +
31 +*wcslib-4.13.4 (05 Apr 2012)
32 +
33 + 05 Apr 2012; Kacper Kowalik <xarthisius@g.o> +wcslib-4.13.4.ebuild:
34 + Version bump
35
36 *wcslib-4.13.2 (25 Mar 2012)
37
38
39
40
41 1.1 sci-astronomy/wcslib/wcslib-4.13.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.13.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.13.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: wcslib-4.13.4.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.13.4.ebuild,v 1.1 2012/04/05 20:42:47 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 sys-devel/flex"
70
71 pkg_setup() {
72 use fortran && fortran-2_pkg_setup
73 }
74
75 src_prepare() {
76 sed -i -e 's/COPYING\*//' GNUmakefile || die
77 }
78
79 src_configure() {
80 econf \
81 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
82 $(use_enable static-libs static) \
83 $(use_enable fortran) \
84 $(use_with fits cfitsio) \
85 $(use_with pgplot)
86 }
87
88 src_compile() {
89 # nasty makefile, debugging means full rewrite
90 emake -j1
91 }
92
93 src_test() {
94 emake -j1 check
95 }
96
97 src_install () {
98 default
99 # static libs are same as shared (compiled with PIC)
100 # so they are not compiled twice
101 use static-libs || rm -f "${ED}"/usr/$(get_libdir)/lib*.a
102 }