blob: be281351f068b17aedf04afb5b82872012ca0dcb (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit perl-module
DESCRIPTION="Predict Bacterial and Archaeal rRNA genes and output in GFF3 format"
HOMEPAGE="http://www.vicbioinformatics.com/software.barrnap.shtml"
SRC_URI="http://www.vicbioinformatics.com/"${P}".tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
# contains bundled binaries of hmmer-3.1 (dev version)
# needs >=perl-5.6
DEPEND=""
RDEPEND="${DEPEND}
dev-lang/perl:=
sci-biology/nesoni"
src_install(){
# the below recreates the whole layout
insinto /usr/share/"${PN}"
doins barrnap
chmod a+rx "${ED}"/usr/share/"${PN}"/barrnap
insinto /usr/share/"${PN}"/binaries
doins binaries/nhmmer.linux
chmod a+rx "${ED}"/usr/share/"${PN}"/binaries/nhmmer.linux
insinto /usr/share/"${PN}"/db
doins db/*
insinto /usr/share/examples
doins examples/*
echo PATH=/usr/share/"${PN}":$PATH > "${S}"/99barrnap
doenvd "${S}"/99barrnap
}
|