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