1 |
commit: 55b9d1daf0b09521f151d2a25e46e4e7e309f9b3 |
2 |
Author: Martin Mokrejš <mmokrejs <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 9 15:51:13 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 5 23:24:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b9d1da |
7 |
|
8 |
sci-biology/qrna: DEPEND on sci-biology/hmmer:2 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/7134 |
11 |
|
12 |
sci-biology/qrna/qrna-2.0.3c-r3.ebuild | 58 ++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 58 insertions(+) |
14 |
|
15 |
diff --git a/sci-biology/qrna/qrna-2.0.3c-r3.ebuild b/sci-biology/qrna/qrna-2.0.3c-r3.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..5c580a24d2a |
18 |
--- /dev/null |
19 |
+++ b/sci-biology/qrna/qrna-2.0.3c-r3.ebuild |
20 |
@@ -0,0 +1,58 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit toolchain-funcs |
27 |
+ |
28 |
+DESCRIPTION="Prototype ncRNA genefinder" |
29 |
+HOMEPAGE="http://selab.janelia.org/software.html" |
30 |
+SRC_URI="mirror://gentoo/${P}.tar.bz2" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+IUSE="" |
36 |
+ |
37 |
+RDEPEND=" |
38 |
+ dev-lang/perl |
39 |
+ sci-biology/hmmer:2" |
40 |
+DEPEND="${RDEPEND}" |
41 |
+ |
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}"/${P}-glibc-2.10.patch |
44 |
+ "${FILESDIR}"/${P}-ldflags.patch |
45 |
+) |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ default |
49 |
+ sed \ |
50 |
+ -e "s:^CC.*:CC = $(tc-getCC):" \ |
51 |
+ -e "/^AR/s:ar:$(tc-getAR):g" \ |
52 |
+ -e "/^RANLIB/s:ranlib:$(tc-getRANLIB):g" \ |
53 |
+ -e "/CFLAGS/s:=.*$:= ${CFLAGS}:" \ |
54 |
+ -i {src,squid,squid02}/Makefile || die |
55 |
+ rm -v squid*/*.a || die |
56 |
+} |
57 |
+ |
58 |
+src_compile() { |
59 |
+ local d |
60 |
+ for d in squid squid02 src; do |
61 |
+ emake -C ${d} |
62 |
+ done |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ dobin src/{cfgbuild,eqrna,eqrna_sample,rnamat_main} scripts/* |
67 |
+ |
68 |
+ newdoc 00README README |
69 |
+ dodoc -r documentation/. |
70 |
+ |
71 |
+ insinto /usr/share/${PN}/data |
72 |
+ doins -r lib/. |
73 |
+ insinto /usr/share/${PN}/demos |
74 |
+ doins -r Demos/. |
75 |
+ |
76 |
+ # Sets the path to the QRNA data files |
77 |
+ doenvd "${FILESDIR}"/26qrna |
78 |
+} |