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/funtools: ChangeLog funtools-1.4.4.ebuild
Date: Fri, 29 Jan 2010 02:15:21
Message-Id: E1NagOF-0006Vq-Je@stork.gentoo.org
1 bicatali 10/01/29 02:15:19
2
3 Modified: ChangeLog
4 Added: funtools-1.4.4.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 sci-astronomy/funtools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/funtools/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/funtools/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/funtools/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 9 Jan 2009 22:44:37 -0000 1.4
23 +++ ChangeLog 29 Jan 2010 02:15:18 -0000 1.5
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-astronomy/funtools
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/ChangeLog,v 1.4 2009/01/09 22:44:37 josejx Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/ChangeLog,v 1.5 2010/01/29 02:15:18 bicatali Exp $
30 +
31 +*funtools-1.4.4 (29 Jan 2010)
32 +
33 + 29 Jan 2010; Sébastien Fabbro <bicatali@g.o>
34 + +funtools-1.4.4.ebuild:
35 + Version bump
36
37 09 Jan 2009; Joseph Jezak <josejx@g.o> funtools-1.4.0.ebuild:
38 Marked ~ppc for bug #253299.
39
40
41
42 1.1 sci-astronomy/funtools/funtools-1.4.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/funtools/funtools-1.4.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/funtools/funtools-1.4.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: funtools-1.4.4.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/funtools-1.4.4.ebuild,v 1.1 2010/01/29 02:15:18 bicatali Exp $
52
53 EAPI=2
54 inherit eutils
55
56 DESCRIPTION="FITS library and utlities for astronomical images"
57 HOMEPAGE="http://www.cfa.harvard.edu/~john/funtools/"
58 SRC_URI="http://cfa-www.harvard.edu/~john/${PN}/${P}.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="doc"
64
65 RDEPEND="sys-libs/zlib
66 sci-astronomy/wcstools
67 sci-visualization/gnuplot"
68 DEPEND="${RDEPEND}
69 dev-util/pkgconfig"
70
71 src_prepare() {
72 sed -i \
73 -e "s:\${LINK}:\${LINK} ${LDFLAGS}:" \
74 mklib || die "sed for ldflags failed"
75 }
76
77 src_configure() {
78 econf \
79 --enable-shared \
80 --enable-dl \
81 --enable-mainlib \
82 --with-wcslib="$(pkg-config --libs wcstools)" \
83 --with-zlib=-lz \
84 --with-tcl=-ltcl \
85 WCS_INC="$(pkg-config --cflags wcstools)"
86 }
87
88 src_compile() {
89 emake || die "emake failed"
90 emake shtclfun || die "emake tcl functions failed"
91 }
92
93 src_install () {
94 emake INSTALL_ROOT="${D}" install || die "emake install failed"
95 # install missing includes
96 insinto /usr/include/funtools/fitsy
97 doins fitsy/*.h || die
98 if use doc; then
99 cd doc
100 insinto /usr/share/doc/${PF}
101 doins *.pdf || die
102 insinto /usr/share/doc/${PF}/html
103 doins *.html *.c || die
104 fi
105 }