summaryrefslogtreecommitdiff
blob: 044b16b4a52d4741bb04d9017ab4b07e043042a6 (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
36
37
38
39
40
41
42
43
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/diya/diya-1.0_rc4.ebuild,v 1.1 2009/09/28 00:16:02 weaver Exp $

EAPI="2"

inherit perl-module

DESCRIPTION="Do It Yourself Annotation, a collection of tools and libraries for sequence assembly and annotation"
HOMEPAGE="http://gmod.org/wiki/Diya"
SRC_URI="mirror://sourceforge/diyg/files/diya/diya-1.0/diya-${PV/_/-}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
IUSE="-minimal"
KEYWORDS="~amd64 ~x86"

DEPEND="sci-biology/bioperl
	dev-perl/Data-Utilities
	dev-perl/XML-Simple"
RDEPEND="${DEPEND}
	!minimal? (
		sci-biology/mummer
		sci-biology/glimmer
		sci-biology/trnascan-se
		sci-biology/infernal )"

# see ftp://ftp.ncbi.nih.gov/blast/ to check if blast and blast+ are different from ncbi-tools and ncbi-tools++
# * rfamscan.pl v0.1      (http://www.sanger.ac.uk/Users/sgj/code/)
# * UniRef50                              (http://www.ebi.ac.uk/uniref/)
# * Protein Clusters (ftp://ftp.ncbi.nih.gov/genomes/Bacteria/CLUSTERS/)
# The file cddid_all.tbl can be found at ftp://ftp.ncbi.nih.gov/pub/mmdb/cdd/.

S="${WORKDIR}/diya-${PV/_/-}"

SRC_TEST=do

src_install() {
	mydoc="INSTALL README docs/diya.html"
	perl-module_src_install
	insinto /usr/share/${PN}
	doins -r diya.conf docs examples scripts || die
}