commit:     ffd44092e74acc532b5dec90adc92e84160adcfc
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Fri Jun  4 14:52:22 2021 +0000
Commit:     Jakov Smolić <jakov.smolic <AT> sartura <DOT> hr>
CommitDate: Fri Jun  4 14:52:42 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ffd44092

sci-biology/KING: Bump to 2.2.7

* Update SRC_URI

Closes: https://bugs.gentoo.org/794160
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>

 sci-biology/KING/KING-2.2.7.ebuild | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/sci-biology/KING/KING-2.2.7.ebuild 
b/sci-biology/KING/KING-2.2.7.ebuild
new file mode 100644
index 000000000..6d01ca794
--- /dev/null
+++ b/sci-biology/KING/KING-2.2.7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_P="KING${PV}"
+DESCRIPTION="Check family relationship and infer population structure"
+HOMEPAGE="https://kingrelatedness.com";
+SRC_URI="https://www.kingrelatedness.com/executables/${MY_P}code.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved" # Our robust relationship inference algorithm is 
implemented in a freely available software package
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile(){
+       $(tc-getCXX) ${CXXFLAGS} -lm -lz -fopenmp -o king *.cpp
+}
+
+src_install(){
+       newbin {king,KING}
+}

Reply via email to