summaryrefslogtreecommitdiff
blob: 85a0ba8ec4d5a8bb63b48df2d578185f79c77730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.6_alpha.ebuild,v 1.1 2005/10/19 02:52:02 ribosome Exp $

inherit flag-o-matic

DESCRIPTION="The Vienna RNA Package - RNA secondary structure prediction and comparison"
LICENSE="vienna-rna"
HOMEPAGE="http://www.tbi.univie.ac.at/~ivo/RNA"
SRC_URI="http://www.tbi.univie.ac.at/~ivo/RNA/ViennaRNA-1.6alpha.tar.gz"

SLOT="0"
IUSE=""
KEYWORDS="~x86 ~ppc"

DEPEND="dev-lang/perl
	virtual/x11
	media-libs/gd"

S="${WORKDIR}/ViennaRNA-1.6"

src_compile() {
	econf --with-cluster --without-forester || die "Configuration failed."
	emake || die "Compilation failed."
}

src_install() {
	make install DESTDIR="${D}" || die "Installation failed."
	newbin Readseq/readseq readseq-vienna || die \
		"Installing programs failed."
	dodoc AUTHORS ChangeLog NEWS README THANKS Readseq/Readseq.help || die \
		"Document installation failed."
	newdoc Readseq/Readme README.readseq || die \
		"Installing Readme failed."
}