/[gentoo-x86]/app-sci/vienna-rna/vienna-rna-1.4.ebuild
Gentoo

Contents of /app-sci/vienna-rna/vienna-rna-1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Dec 23 16:08:38 2004 UTC (9 years, 11 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Moving to sci-biology/vienna-rna

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-sci/vienna-rna/vienna-rna-1.4.ebuild,v 1.4 2004/11/01 03:03:35 ribosome Exp $
4
5 inherit flag-o-matic
6
7 DESCRIPTION="Vienna RNA Package - RNA secondary structure prediction and comparison"
8 HOMEPAGE="http://www.tbi.univie.ac.at/~ivo/RNA/"
9 SRC_URI="http://www.tbi.univie.ac.at/~ivo/RNA/ViennaRNA-${PV}.tar.gz"
10 LICENSE="vienna-rna"
11
12 SLOT=0
13 KEYWORDS="x86 ~ppc"
14 IUSE="no-utils no-readseq perl"
15
16 DEPEND="perl? ( dev-lang/perl )
17 !no-utils? ( dev-lang/perl )"
18
19 S="${WORKDIR}/ViennaRNA-${PV}"
20
21 src_compile() {
22 sed -ie 's:/usr/local/bin/perl:/usr/bin/perl:' Perl/RNAfold.pl
23 sed -ie 's:/usr/local/bin/perl:/usr/bin/perl:' Utils/ct2b.pl
24 sed -ie 's:/usr/local/bin/perl:/usr/bin/perl:' Utils/b2mt.pl
25 sed -ie 's:/usr/local/bin/perl:/usr/bin/perl:' Utils/dpzoom.pl
26 sed -ie 's:/usr/local/bin/perl:/usr/bin/perl:' Utils/mountain.pl
27 append-flags -I../H
28 make -e library programs gammel subopt || die
29 use perl && make -e perl || die
30 use no-utils || make -e util || die
31 use no-readseq || cd Readseq && make -e || die
32 }
33
34 src_install() {
35 insinto /usr/include/vienna-rna
36 doins H/*
37 dolib.a lib/libRNA.a
38 dobin Cluster/{AnalyseDists,AnalyseSeqs}
39 dobin Progs/RNA{distance,eval,fold,heat,inverse,pdist}
40 dobin Subopt/{RNAsubopt,popt}
41
42 dodoc CHANGES CREDITS README
43 doinfo man/RNAlib.info
44 newman man/AnalyseDists.man AnalyseDists.man.1
45 newman man/AnalyseSeqs.man AnalyseSeqs.man.1
46 newman man/RNAdistance.man RNAdistance.man.1
47 newman man/RNAeval.man RNAeval.man.1
48 newman man/RNAfold.man RNAfold.man.1
49 newman man/RNAheat.man RNAheat.man.1
50 newman man/RNAinverse.man RNAinverse.man.1
51 newman man/RNApdist.man RNApdist.man.1
52 newman Subopt/RNAsubopt.man RNAsubopt.man.1
53 dohtml man/RNAlib.html
54 insinto /usr/share/doc/${P}/pdf
55 doins man/RNAlib.pdf
56
57 if use perl; then
58 cd Perl
59 make install DESTDIR=${D} || die
60 dodoc RNA_wrap.doc
61 cd ${S}
62 fi
63
64 if ! use no-utils; then
65 dobin Utils/{b2ct,ct2b.pl,dpzoom.pl,mountain.pl,b2mt.pl,Fold,RNAplot}
66 newdoc Utils/README README.utils
67 newman Utils/RNAplot.man RNAplot.man.1
68 fi
69
70 if ! use no-readseq; then
71 newbin Readseq/readseq readseq-vienna
72 newdoc Readseq/Readme README.readseq
73 newdoc Readseq/Formats FORMATS.readseq
74 newdoc Readseq/README README.readseq-vienna
75 fi
76 }

  ViewVC Help
Powered by ViewVC 1.1.20