Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/t-coffee: ChangeLog t-coffee-8.93.ebuild
Date: Sun, 03 Oct 2010 11:12:04
Message-Id: 20101003111156.C39F120051@flycatcher.gentoo.org
1 jlec 10/10/03 11:11:56
2
3 Modified: ChangeLog
4 Added: t-coffee-8.93.ebuild
5 Log:
6 Version Bump, 338199
7
8 (Portage version: 2.2_rc88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.43 sci-biology/t-coffee/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/t-coffee/ChangeLog?rev=1.43&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/t-coffee/ChangeLog?rev=1.43&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/t-coffee/ChangeLog?r1=1.42&r2=1.43
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/t-coffee/ChangeLog,v
20 retrieving revision 1.42
21 retrieving revision 1.43
22 diff -u -r1.42 -r1.43
23 --- ChangeLog 18 Jun 2010 07:55:33 -0000 1.42
24 +++ ChangeLog 3 Oct 2010 11:11:56 -0000 1.43
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-biology/t-coffee
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/t-coffee/ChangeLog,v 1.42 2010/06/18 07:55:33 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/t-coffee/ChangeLog,v 1.43 2010/10/03 11:11:56 jlec Exp $
30 +
31 +*t-coffee-8.93 (03 Oct 2010)
32 +
33 + 03 Oct 2010; Justin Lecher <jlec@g.o> +t-coffee-8.93.ebuild:
34 + Version Bump, 338199
35
36 18 Jun 2010; Justin Lecher <jlec@g.o> t-coffee-8.69.ebuild:
37 Fix installation, #324307
38
39
40
41 1.1 sci-biology/t-coffee/t-coffee-8.93.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/t-coffee/t-coffee-8.93.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/t-coffee/t-coffee-8.93.ebuild?rev=1.1&content-type=text/plain
45
46 Index: t-coffee-8.93.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-biology/t-coffee/t-coffee-8.93.ebuild,v 1.1 2010/10/03 11:11:56 jlec Exp $
51
52 EAPI="2"
53
54 inherit flag-o-matic toolchain-funcs
55
56 DESCRIPTION="A multiple sequence alignment package"
57 HOMEPAGE="http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html"
58 SRC_URI="http://www.tcoffee.org/Packages/T-COFFEE_distribution_Version_${PV}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 IUSE="examples test"
63 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
64
65 RDEPEND="sci-biology/clustalw"
66 DEPEND="${DEPEND}
67 test? ( dev-lang/perl )"
68
69 S="${WORKDIR}/T-COFFEE_distribution_Version_${PV}"
70
71 die_compile() {
72 echo
73 eerror "If you experience an internal compiler error (consult the above"
74 eerror "messages), try compiling t-coffee using very modest compiler flags."
75 eerror "See bug #114745 on the Gentoo Bugzilla for more details."
76 die "Compilation failed"
77 }
78
79 src_prepare() {
80 epatch "${FILESDIR}"/8.69-flags.patch
81 epatch "${FILESDIR}"/8.69-test.patch
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 emake \
88 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
89 -C t_coffee_source || die_compile
90 }
91
92 src_test() {
93 cd "${TCDIR}"
94 perl bin/test.pl || die
95 }
96
97 src_install() {
98 dobin t_coffee_source/t_coffee || die "Failed to install program."
99
100 # insinto /usr/share/${PN}/lib/html
101 # doins html/* || die "Failed to install Web interface files."
102
103 dodoc doc/*.txt || die "Failed to install text documentation."
104 dohtml doc/*.htm || die "Failed to install HTML documentation."
105
106 insinto /usr/share/doc/${PF}
107 doins doc/*.doc || die "Failed to install DOC documentation."
108
109 if use examples; then
110 insinto /usr/share/${PN}
111 doins -r example || die "Failed to install example files."
112 fi
113 }