summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-03 00:38:32 +0100
committerSam James <sam@gentoo.org>2022-07-03 00:38:32 +0100
commit24345bb7834073b0027c28b890a36ed5ffd35a12 (patch)
tree0662f9aeb626106341c4307ddd4f837d9b04247d /sci-biology/trnascan-se
parentwww-client/uget: Drop inactive proxied maintainer (diff)
downloadgentoo-24345bb7834073b0027c28b890a36ed5ffd35a12.tar.gz
gentoo-24345bb7834073b0027c28b890a36ed5ffd35a12.tar.bz2
gentoo-24345bb7834073b0027c28b890a36ed5ffd35a12.zip
sci-biology/trnascan-se: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/710970 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-biology/trnascan-se')
-rw-r--r--sci-biology/trnascan-se/trnascan-se-1.31-r1.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/sci-biology/trnascan-se/trnascan-se-1.31-r1.ebuild b/sci-biology/trnascan-se/trnascan-se-1.31-r1.ebuild
new file mode 100644
index 000000000000..cbbcb5f0e11e
--- /dev/null
+++ b/sci-biology/trnascan-se/trnascan-se-1.31-r1.ebuild
@@ -0,0 +1,53 @@
+# 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"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-ldflags.patch
+)
+
+src_prepare() {
+ default
+
+ sed \
+ -e "s:BINDIR = \$(HOME)/bin:BINDIR = ${EPREFIX}/usr/bin:" \
+ -e "s:LIBDIR = \$(HOME)/lib/tRNAscan-SE:LIBDIR = ${EPRFIX}/usr/share/${PN}:" \
+ -e "s:MANDIR = \$(HOME)/man:MANDIR = ${EPREFIX}/usr/share/man:" \
+ -e "s:CC = gcc:CC = $(tc-getCC):" \
+ -e "s;CFLAGS = -O;CFLAGS = ${CFLAGS};" \
+ -i Makefile || die
+
+ perl_set_version
+}
+
+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 README Release.history
+
+ insinto /usr/share/${PN}/
+ doins *.cm gcode.* Dsignal TPCsignal
+
+ dodoc Manual.ps
+
+ insinto ${VENDOR_LIB}
+ doins -r tRNAscanSE
+}