summaryrefslogtreecommitdiff
blob: ae923b60da8d63904421e336896f5ef58b0f9a13 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

inherit perl-module

DESCRIPTION="Do It Yourself Annotation, tools & libraries for sequence assembly & 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
}