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

EAPI=6

MODULE_AUTHOR=""
inherit perl-module

DESCRIPTION="EnsEMBL Perl API aka ensembl-api exposing Bio::EnsEMBL::Registry"
SRC_URI="ftp://ftp.ensembl.org/pub/ensembl-api.tar.gz"

#LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}"

S="${WORKDIR}"

src_install(){
	perl_set_version
	insinto "${VENDOR_LIB}" # do not add "${PN}" so the the PERL path starts with Bio/
	find . -name t | xargs rm -rf || die
	find . -name test.pl | xargs rm -f || die
	find . -name \*.example | xargs rm -f || die
	find . -name \*.json | xargs rm -f || die
	find . -name README* | xargs rm -rf || die
	find . -name \*.conf | xargs rm -f || die
	find . -name travisci | xargs rm -rf || die
	find . -name sql | xargs rm -rf || die
	find . -name modules | while read d; do pushd "$d"; doins -r *; popd; done || die
}