Gentoo Archives: gentoo-commits

From: "Jeffrey Gardner (je_fro)" <je_fro@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/t-coffee: ChangeLog t-coffee-5.31.ebuild
Date: Fri, 07 Dec 2007 05:53:10
Message-Id: E1J0W94-0001Ce-1i@stork.gentoo.org
1 je_fro 07/12/07 05:53:06
2
3 Modified: ChangeLog
4 Added: t-coffee-5.31.ebuild
5 Log:
6 Latest version - thanks to Martin Mokrejs on bug #201495
7 (Portage version: 2.1.4_rc7)
8
9 Revision Changes Path
10 1.24 sci-biology/t-coffee/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/t-coffee/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/t-coffee/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/t-coffee/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/t-coffee/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- ChangeLog 2 Jul 2007 15:24:09 -0000 1.23
23 +++ ChangeLog 7 Dec 2007 05:53:05 -0000 1.24
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-biology/t-coffee
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/t-coffee/ChangeLog,v 1.23 2007/07/02 15:24:09 peper Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/t-coffee/ChangeLog,v 1.24 2007/12/07 05:53:05 je_fro Exp $
29 +
30 +*t-coffee-5.31 (07 Dec 2007)
31 +
32 + 07 Dec 2007; Jeff Gardner <je_fro@g.o> +t-coffee-5.31.ebuild:
33 + Latest version - thanks to Martin Mokrejs on bug #201495
34
35 02 Jul 2007; Piotr JaroszyƄski <peper@g.o> t-coffee-4.96.ebuild,
36 t-coffee-5.05.ebuild:
37
38
39
40 1.1 sci-biology/t-coffee/t-coffee-5.31.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/t-coffee/t-coffee-5.31.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/t-coffee/t-coffee-5.31.ebuild?rev=1.1&content-type=text/plain
44
45 Index: t-coffee-5.31.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-biology/t-coffee/t-coffee-5.31.ebuild,v 1.1 2007/12/07 05:53:05 je_fro Exp $
50
51 inherit toolchain-funcs flag-o-matic
52
53 DESCRIPTION="A multiple sequence alignment package"
54 LICENSE="t-coffee"
55 HOMEPAGE="http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html"
56 SRC_URI="http://www.tcoffee.org/Packages/T-COFFEE_distribution_Version_${PV}.tar.gz"
57
58 SLOT="0"
59 IUSE=""
60 KEYWORDS="~ppc ~x86"
61
62 RESTRICT="mirror"
63
64 DEPEND="sci-biology/clustalw"
65
66 TCDIR="${WORKDIR}/T-COFFEE_distribution_Version_${PV}"
67 S="${TCDIR}/t_coffee_source"
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 sed -e "s/CC = cc/CC = $(tc-getCC) ${CFLAGS}/" -i makefile || die \
73 "Failed to patch makefile."
74 }
75
76 die_compile() {
77 echo
78 eerror "If you experience an internal compiler error (consult the above"
79 eerror "messages), try compiling t-coffee using very modest compiler flags."
80 eerror "See bug #114745 on the Gentoo Bugzilla for more details."
81 die "Compilation failed"
82 }
83
84 src_compile() {
85 [[ $(gcc-version) == "3.4" ]] && append-flags -fno-unit-at-a-time
86 [[ $(gcc-version) == "4.1" ]] && append-flags -fno-unit-at-a-time
87 make all || die_compile
88 }
89
90 src_install() {
91 dobin "${TCDIR}"/bin/t_coffee \
92 || die "Failed to install program."
93
94 insinto /usr/share/${PN}/lib/html
95 doins "${TCDIR}"/html/* \
96 || die "Failed to install Web interface files."
97
98 cd "${TCDIR}"/doc
99 dodoc aln_compare.doc.txt README4T-COFFEE seq_reformat.doc.txt \
100 t_coffee_technical.txt t_coffee_tutorial.txt \
101 || die "Failed to install text documentation."
102
103 dohtml t_coffee_technical.htm t_coffee_tutorial.htm \
104 || die "Failed to install HTML documentation."
105
106 insinto /usr/share/doc/${PF}
107 doins t_coffee_technical.doc t_coffee_tutorial.doc \
108 || die "Failed to install DOC documentation."
109
110 insinto /usr/share/${PN}/example
111 doins "${TCDIR}"/example/* \
112 || die "Failed to install example files."
113 }
114
115
116
117 --
118 gentoo-commits@g.o mailing list