summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@gmail.com>2018-02-09 16:51:13 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-06 01:24:56 +0200
commit55b9d1daf0b09521f151d2a25e46e4e7e309f9b3 (patch)
tree1e922e762658612fe4c8f634d7e84cd5d8667be0 /sci-biology
parentmedia-video/qt-recordmydesktop: Remove last-rited package (diff)
downloadgentoo-55b9d1daf0b09521f151d2a25e46e4e7e309f9b3.tar.gz
gentoo-55b9d1daf0b09521f151d2a25e46e4e7e309f9b3.tar.bz2
gentoo-55b9d1daf0b09521f151d2a25e46e4e7e309f9b3.zip
sci-biology/qrna: DEPEND on sci-biology/hmmer:2
Closes: https://github.com/gentoo/gentoo/pull/7134
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/qrna/qrna-2.0.3c-r3.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/sci-biology/qrna/qrna-2.0.3c-r3.ebuild b/sci-biology/qrna/qrna-2.0.3c-r3.ebuild
new file mode 100644
index 000000000000..5c580a24d2a3
--- /dev/null
+++ b/sci-biology/qrna/qrna-2.0.3c-r3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Prototype ncRNA genefinder"
+HOMEPAGE="http://selab.janelia.org/software.html"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-lang/perl
+ sci-biology/hmmer:2"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-glibc-2.10.patch
+ "${FILESDIR}"/${P}-ldflags.patch
+)
+
+src_prepare() {
+ default
+ sed \
+ -e "s:^CC.*:CC = $(tc-getCC):" \
+ -e "/^AR/s:ar:$(tc-getAR):g" \
+ -e "/^RANLIB/s:ranlib:$(tc-getRANLIB):g" \
+ -e "/CFLAGS/s:=.*$:= ${CFLAGS}:" \
+ -i {src,squid,squid02}/Makefile || die
+ rm -v squid*/*.a || die
+}
+
+src_compile() {
+ local d
+ for d in squid squid02 src; do
+ emake -C ${d}
+ done
+}
+
+src_install() {
+ dobin src/{cfgbuild,eqrna,eqrna_sample,rnamat_main} scripts/*
+
+ newdoc 00README README
+ dodoc -r documentation/.
+
+ insinto /usr/share/${PN}/data
+ doins -r lib/.
+ insinto /usr/share/${PN}/demos
+ doins -r Demos/.
+
+ # Sets the path to the QRNA data files
+ doenvd "${FILESDIR}"/26qrna
+}