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: ChangeLog wcslib-4.4.3.ebuild
Date: Wed, 09 Sep 2009 16:15:47
Message-Id: E1MlPph-00068R-8D@stork.gentoo.org
1 bicatali 09/09/09 16:15:45
2
3 Modified: ChangeLog
4 Added: wcslib-4.4.3.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.8 sci-astronomy/wcslib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 17 Aug 2009 19:55:27 -0000 1.7
23 +++ ChangeLog 9 Sep 2009 16:15:44 -0000 1.8
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-astronomy/wcslib
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.7 2009/08/17 19:55:27 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.8 2009/09/09 16:15:44 bicatali Exp $
29 +
30 +*wcslib-4.4.3 (09 Sep 2009)
31 +
32 + 09 Sep 2009; Sébastien Fabbro <bicatali@g.o> +wcslib-4.4.3.ebuild:
33 + Version bump
34
35 *wcslib-4.4.2 (17 Aug 2009)
36
37
38
39
40 1.1 sci-astronomy/wcslib/wcslib-4.4.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/wcslib-4.4.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/wcslib-4.4.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: wcslib-4.4.3.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.4.3.ebuild,v 1.1 2009/09/09 16:15:44 bicatali Exp $
50
51 EAPI=2
52 inherit eutils virtualx flag-o-matic
53
54 DESCRIPTION="Astronomical World Coordinate System transformations library"
55 HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
56 SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2"
57
58 LICENSE="LGPL-3"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="doc test"
62
63 RDEPEND="sci-libs/pgplot
64 sci-libs/cfitsio"
65 DEPEND="${RDEPEND}
66 test? (
67 media-fonts/font-misc-misc
68 media-fonts/font-cursor-misc )"
69
70 src_prepare() {
71 sed -i \
72 -e 's/$(SHRLD)/$(SHRLD) $(LDFLAGS)/' \
73 C/GNUmakefile || die
74 epatch "${FILESDIR}"/${PN}-4.4.2-flibs.patch
75 epatch "${FILESDIR}"/${PN}-4.4.2-destdir.patch
76 append-flags -U_FORTIFY_SOURCE
77 }
78
79 src_compile() {
80 # -j1 forced. build system too crappy to be worth debugging
81 # does not really fix anything
82 emake -j1 || die "emake failed"
83 }
84
85 src_test() {
86 Xemake check || die "emake test failed"
87 }
88
89 src_install () {
90 emake DESTDIR="${D}" install || die "emake install failed"
91 dodoc README
92 if use doc; then
93 insinto /usr/share/doc/${PF}
94 doins -r *.pdf html || die
95 fi
96 }