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.3.3.ebuild wcslib-4.3.ebuild
Date: Fri, 26 Jun 2009 21:49:54
Message-Id: E1MKJIr-0002H3-Po@stork.gentoo.org
1 bicatali 09/06/26 21:49:49
2
3 Modified: ChangeLog
4 Added: wcslib-4.3.3.ebuild
5 Removed: wcslib-4.3.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 sci-astronomy/wcslib/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 8 Dec 2008 11:58:10 -0000 1.3
24 +++ ChangeLog 26 Jun 2009 21:49:49 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-astronomy/wcslib
27 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.3 2008/12/08 11:58:10 bicatali Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.4 2009/06/26 21:49:49 bicatali Exp $
31 +
32 +*wcslib-4.3.3 (26 Jun 2009)
33 +
34 + 26 Jun 2009; Sébastien Fabbro <bicatali@g.o> -wcslib-4.3.ebuild,
35 + +wcslib-4.3.3.ebuild:
36 + Version bump
37
38 *wcslib-4.3-r1 (08 Dec 2008)
39
40
41
42
43 1.1 sci-astronomy/wcslib/wcslib-4.3.3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/wcslib-4.3.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcslib/wcslib-4.3.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: wcslib-4.3.3.ebuild
49 ===================================================================
50 # Copyright 1999-2009 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.3.3.ebuild,v 1.1 2009/06/26 21:49:49 bicatali Exp $
53
54 EAPI=2
55 inherit eutils
56
57 DESCRIPTION="Astronomical World Coordinate System transformations library"
58 HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
59 SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.gz"
60
61 LICENSE="LGPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64
65 IUSE=""
66 RDEPEND="sci-libs/pgplot
67 sci-libs/cfitsio"
68 DEPEND="${RDEPEND}"
69
70 src_prepare() {
71 sed -i \
72 -e 's/$(SHRLD)/$(SHRLD) $(LDFLAGS)/' \
73 C/GNUmakefile || die
74 }
75
76 src_compile() {
77 # -j1 forced. build system too crappy to be worth debugging
78 emake -j1 || die "emake failed"
79 }
80
81 rc_install() {
82 emake DESTDIR="${D}" install || die "emake install failed"
83 }
84
85 src_install () {
86 # make install from makefile is buggy
87
88 dobin utils/{HPXcvt,fitshdr,wcsgrid} || die "dobin failed"
89
90 dolib.a C/libwcs-${PV}.a pgsbox/libpgsbox-${PV}.a || die
91 dolib.so C/libwcs.so.${PV} || die
92 dosym libwcs.so.${PV} /usr/$(get_libdir)/libwcs.so
93 dosym libwcs-${PV}.a /usr/$(get_libdir)/libwcs.a
94 dosym libpgsbox-${PV}.a /usr/$(get_libdir)/libpgsbox.a
95
96 insinto /usr/include/${P}
97 doins wcsconfig.h wcsconfig_f77.h || die
98 doins pgsbox/*.h C/*.h Fortran/*inc || die
99 dosym ${P} /usr/include/${PN}
100
101 dodoc README
102 newdoc C/CHANGES CHANGES_C
103 newdoc Fortran/CHANGES CHANGES_FORTRAN
104 newdoc pgsbox/CHANGES CHANGES_PGSBOX
105 }