1 |
commit: ffd44092e74acc532b5dec90adc92e84160adcfc |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Fri Jun 4 14:52:22 2021 +0000 |
4 |
Commit: Jakov Smolić <jakov.smolic <AT> sartura <DOT> hr> |
5 |
CommitDate: Fri Jun 4 14:52:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ffd44092 |
7 |
|
8 |
sci-biology/KING: Bump to 2.2.7 |
9 |
|
10 |
* Update SRC_URI |
11 |
|
12 |
Closes: https://bugs.gentoo.org/794160 |
13 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
14 |
|
15 |
sci-biology/KING/KING-2.2.7.ebuild | 24 ++++++++++++++++++++++++ |
16 |
1 file changed, 24 insertions(+) |
17 |
|
18 |
diff --git a/sci-biology/KING/KING-2.2.7.ebuild b/sci-biology/KING/KING-2.2.7.ebuild |
19 |
new file mode 100644 |
20 |
index 000000000..6d01ca794 |
21 |
--- /dev/null |
22 |
+++ b/sci-biology/KING/KING-2.2.7.ebuild |
23 |
@@ -0,0 +1,24 @@ |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+inherit toolchain-funcs |
30 |
+ |
31 |
+MY_P="KING${PV}" |
32 |
+DESCRIPTION="Check family relationship and infer population structure" |
33 |
+HOMEPAGE="https://kingrelatedness.com" |
34 |
+SRC_URI="https://www.kingrelatedness.com/executables/${MY_P}code.tar.gz -> ${P}.tar.gz" |
35 |
+S="${WORKDIR}" |
36 |
+ |
37 |
+LICENSE="all-rights-reserved" # Our robust relationship inference algorithm is implemented in a freely available software package |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+ |
41 |
+src_compile(){ |
42 |
+ $(tc-getCXX) ${CXXFLAGS} -lm -lz -fopenmp -o king *.cpp |
43 |
+} |
44 |
+ |
45 |
+src_install(){ |
46 |
+ newbin {king,KING} |
47 |
+} |