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.0.ebuild
Date: Thu, 01 May 2008 13:14:01
Message-Id: E1JrYbm-0001vy-9t@stork.gentoo.org
1 markusle 08/05/01 13:13:58
2
3 Modified: ChangeLog
4 Added: vienna-rna-1.7.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.15 sci-biology/vienna-rna/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 24 Nov 2007 15:10:04 -0000 1.14
23 +++ ChangeLog 1 May 2008 13:13:57 -0000 1.15
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-biology/vienna-rna
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.14 2007/11/24 15:10:04 markusle Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.15 2008/05/01 13:13:57 markusle Exp $
30 +
31 +*vienna-rna-1.7.0 (01 May 2008)
32 +
33 + 01 May 2008; Markus Dittrich <markusle@g.o>
34 + +vienna-rna-1.7.0.ebuild:
35 + Version bump.
36
37 *vienna-rna-1.6.5 (24 Nov 2007)
38
39
40
41
42 1.1 sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: vienna-rna-1.7.0.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild,v 1.1 2008/05/01 13:13:57 markusle Exp $
52
53 inherit toolchain-funcs multilib eutils versionator
54
55 MY_PV=$(get_version_component_range 1-2)
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-${MY_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-${MY_PV}"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${FILESDIR}"/${PN}-1.6.5-c-fixes.patch
75 }
76
77 src_compile() {
78 econf --with-cluster || die "Configuration failed."
79 sed -e "s:LIBDIR = /usr/lib:LIBDIR = ${D}/usr/$(get_libdir):" \
80 -e "s:INCDIR = /usr/include:INCDIR = ${D}/usr/include:" \
81 -i RNAforester/g2-0.70/Makefile \
82 || die "Failed patching RNAForester build system."
83 emake || die "Compilation failed."
84
85 cd "${S}"/Readseq
86 sed -e "s:CC=cc:CC=$(tc-getCC):" -e "s:CFLAGS=:CFLAGS=${CFLAGS}:" \
87 -i Makefile || die "Failed patching readseq Makefile."
88 make || die "Failed to compile readseq."
89 # TODO: Add (optional?) support for the NCBI toolkit.
90 }
91
92 src_install() {
93 make install DESTDIR="${D}" || die "Installation failed."
94 dodoc AUTHORS ChangeLog NEWS README THANKS \
95 || die "Failed to install documentation."
96 newbin Readseq/readseq readseq-vienna \
97 || die "Installing readseq failed."
98 dodoc Readseq/Readseq.help || die \
99 "Readseq Documentation installation failed."
100 newdoc Readseq/Readme README.readseq && \
101 newdoc Readseq/Formats Formats.readseq \
102 || die "Installing readseq Readme failed."
103 }
104
105
106
107 --
108 gentoo-commits@l.g.o mailing list