diff options
Diffstat (limited to 'sci-biology/trnascan-se/trnascan-se-1.31-r2.ebuild')
-rw-r--r-- | sci-biology/trnascan-se/trnascan-se-1.31-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sci-biology/trnascan-se/trnascan-se-1.31-r2.ebuild b/sci-biology/trnascan-se/trnascan-se-1.31-r2.ebuild new file mode 100644 index 000000000000..f35c31b22798 --- /dev/null +++ b/sci-biology/trnascan-se/trnascan-se-1.31-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit perl-functions toolchain-funcs + +DESCRIPTION="tRNA detection in large-scale genome sequences" +HOMEPAGE="http://lowelab.ucsc.edu/tRNAscan-SE/" +SRC_URI="http://lowelab.ucsc.edu/software/tRNAscan-SE.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/tRNAscan-SE-1.3.1/ + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/perl:=" +BDEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-portable-perl-shebangs.patch +) + +src_configure() { + tc-export CC +} + +src_test() { + emake PATH="${S}:${PATH}" testrun +} + +src_install() { + dobin covels-SE coves-SE eufindtRNA tRNAscan-SE trnascan-1.4 + + newman tRNAscan-SE.man tRNAscan-SE.man.1 + dodoc MANUAL Manual.ps README Release.history + + insinto /usr/share/trnascan-se + doins *.cm gcode.* Dsignal TPCsignal + + perl_domodule -r tRNAscanSE +} |