Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/vienna-rna: ChangeLog vienna-rna-1.7.2.ebuild vienna-rna-1.6.1.ebuild vienna-rna-1.6.5.ebuild
Date: Fri, 29 Aug 2008 01:21:42
Message-Id: E1KYsgF-0007n6-9K@stork.gentoo.org
1 markusle 08/08/29 01:21:39
2
3 Modified: ChangeLog
4 Added: vienna-rna-1.7.2.ebuild
5 Removed: vienna-rna-1.6.1.ebuild vienna-rna-1.6.5.ebuild
6 Log:
7 Version bump and removed old ebuilds (fixes bug #235943).
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-SENTINEL-2 i686)
9
10 Revision Changes Path
11 1.17 sci-biology/vienna-rna/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 6 Aug 2008 15:06:58 -0000 1.16
24 +++ ChangeLog 29 Aug 2008 01:21:38 -0000 1.17
25 @@ -1,6 +1,14 @@
26 # ChangeLog for sci-biology/vienna-rna
27 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.16 2008/08/06 15:06:58 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.17 2008/08/29 01:21:38 markusle Exp $
30 +
31 +*vienna-rna-1.7.2 (28 Aug 2008)
32 +
33 + 28 Aug 2008; Markus Dittrich <markusle@g.o>
34 + +files/vienna-rna-1.7.2-gcc4.3.patch, -vienna-rna-1.6.1.ebuild,
35 + -vienna-rna-1.6.5.ebuild, +vienna-rna-1.7.2.ebuild:
36 + Version bump and removed old ebuilds (fixes bug #235943). Thanks much to
37 + Chad A. Simmons <chad.simmons@××××××××××.org> for his ebuild and patches.
38
39 06 Aug 2008; Ulrich Mueller <ulm@g.o> metadata.xml:
40 Add USE flag description to metadata wrt GLEP 56.
41
42
43
44 1.1 sci-biology/vienna-rna/vienna-rna-1.7.2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.7.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.7.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: vienna-rna-1.7.2.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.7.2.ebuild,v 1.1 2008/08/29 01:21:38 markusle Exp $
54
55 inherit toolchain-funcs multilib eutils versionator
56
57 DESCRIPTION="The Vienna RNA Package - RNA secondary structure prediction and comparison"
58 LICENSE="vienna-rna"
59 HOMEPAGE="http://www.tbi.univie.ac.at/~ivo/RNA"
60 SRC_URI="http://www.tbi.univie.ac.at/~ivo/RNA/ViennaRNA-${PV}.tar.gz"
61
62 SLOT="0"
63 IUSE=""
64 KEYWORDS="~amd64 ~x86 ~ppc"
65
66 DEPEND="dev-lang/perl
67 media-libs/gd"
68
69 S="${WORKDIR}/ViennaRNA-${PV}"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${FILESDIR}"/${PN}-1.6.5-c-fixes.patch
75 epatch "${FILESDIR}"/${P}-gcc4.3.patch
76 }
77
78 src_compile() {
79 econf --with-cluster || die "Configuration failed."
80 sed -e "s:LIBDIR = /usr/lib:LIBDIR = ${D}/usr/$(get_libdir):" \
81 -e "s:INCDIR = /usr/include:INCDIR = ${D}/usr/include:" \
82 -i RNAforester/g2-0.70/Makefile \
83 || die "Failed patching RNAForester build system."
84 emake || die "Compilation failed."
85
86 cd "${S}"/Readseq
87 sed -e "s:CC=cc:CC=$(tc-getCC):" -e "s:CFLAGS=:CFLAGS=${CFLAGS}:" \
88 -i Makefile || die "Failed patching readseq Makefile."
89 make || die "Failed to compile readseq."
90 # TODO: Add (optional?) support for the NCBI toolkit.
91 }
92
93 src_install() {
94 make install DESTDIR="${D}" || die "Installation failed."
95 dodoc AUTHORS ChangeLog NEWS README THANKS \
96 || die "Failed to install documentation."
97 newbin Readseq/readseq readseq-vienna \
98 || die "Installing readseq failed."
99 dodoc Readseq/Readseq.help || die \
100 "Readseq Documentation installation failed."
101 newdoc Readseq/Readme README.readseq && \
102 newdoc Readseq/Formats Formats.readseq \
103 || die "Installing readseq Readme failed."
104 }