summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-09 11:53:58 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-09 11:53:58 +0200
commit01ccd8f6eb167dedd81a5ba3a3282f9e36893c4b (patch)
tree10750442a1eca029cd5e5e4df63b726c5a5c6048 /sci-biology
parentsci-biology/trnascan-se: improve makefile (diff)
downloadgentoo-01ccd8f6eb167dedd81a5ba3a3282f9e36893c4b.tar.gz
gentoo-01ccd8f6eb167dedd81a5ba3a3282f9e36893c4b.tar.bz2
gentoo-01ccd8f6eb167dedd81a5ba3a3282f9e36893c4b.zip
sci-biology/trnascan-se: drop 1.31
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/trnascan-se/files/trnascan-se-1.31-ldflags.patch26
-rw-r--r--sci-biology/trnascan-se/trnascan-se-1.31.ebuild54
2 files changed, 0 insertions, 80 deletions
diff --git a/sci-biology/trnascan-se/files/trnascan-se-1.31-ldflags.patch b/sci-biology/trnascan-se/files/trnascan-se-1.31-ldflags.patch
deleted file mode 100644
index f28b1e8f6bb0..000000000000
--- a/sci-biology/trnascan-se/files/trnascan-se-1.31-ldflags.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 53e5c5b..a2d3feb 100644
---- a/Makefile
-+++ b/Makefile
-@@ -109,17 +109,17 @@ MPOBJ = mpviterbi.o mp-dbviterbi.o
- all: $(PROGS) tRNAscan-SE setpaths
-
- covels-SE: $(OBJ) scan_main.o
-- $(CC) $(CFLAGS) $(RFLAGS) -o covels-SE scan_main.o $(OBJ) $(LIBS)
-+ $(CC) $(CFLAGS) $(RFLAGS) $(LDFLAGS) -o covels-SE scan_main.o $(OBJ) $(LIBS)
-
- coves-SE: $(OBJ) score_main.o
-- $(CC) $(CFLAGS) $(RFLAGS) -o coves-SE score_main.o $(OBJ) $(LIBS)
-+ $(CC) $(CFLAGS) $(RFLAGS) $(LDFLAGS) -o coves-SE score_main.o $(OBJ) $(LIBS)
-
- eufindtRNA: $(SQUIDOBJ) pavesi.o eufind_main.o
-- $(CC) $(CFLAGS) -o eufindtRNA eufind_main.o \
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o eufindtRNA eufind_main.o \
- pavesi.o $(SQUIDOBJ) $(LIBS)
-
- trnascan-1.4: trnascan.o
-- $(CC) $(CFLAGS) -DTSCANDIR=\"$(LIBDIR)\" -o trnascan-1.4 trnascan.c
-+ $(CC) $(CFLAGS) -DTSCANDIR=\"$(LIBDIR)\" $(LDFLAGS) -o trnascan-1.4 trnascan.c
-
- tRNAscan-SE:
- $(PERLDIR)/$(PERLBIN) checkversion.pl
diff --git a/sci-biology/trnascan-se/trnascan-se-1.31.ebuild b/sci-biology/trnascan-se/trnascan-se-1.31.ebuild
deleted file mode 100644
index cd8dc152d6d2..000000000000
--- a/sci-biology/trnascan-se/trnascan-se-1.31.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-S="${WORKDIR}"/tRNAscan-SE-1.3.1/
-
-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
-}