commit:     f6c7d5c837dda8298c255130f35c513a19934f5a
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Fri Jun 30 16:51:37 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri Jul 28 20:05:08 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f6c7d5c8

sci-biology/KING: new package

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sci-biology/KING/KING-20161017.ebuild | 33 +++++++++++++++++++++++++++++++++
 sci-biology/KING/metadata.xml         | 12 ++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/sci-biology/KING/KING-20161017.ebuild 
b/sci-biology/KING/KING-20161017.ebuild
new file mode 100644
index 000000000..95ba91702
--- /dev/null
+++ b/sci-biology/KING/KING-20161017.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Check family relationship and infer population structure"
+HOMEPAGE="http://people.virginia.edu/~wc9c/KING
+       http://people.virginia.edu/~wc9c/publications/pdf/BI26_2867.pdf";
+SRC_URI="http://people.virginia.edu/~wc9c/KING/KINGcode.tar.gz -> ${P}.tar.gz
+       http://people.virginia.edu/~wc9c/KING/manual.html -> 
${PN}_relationship_inference.html
+       http://people.virginia.edu/~wc9c/KING/kingpopulation.html -> 
${PN}.kingpopulation.html"
+
+LICENSE="all-rights-reserved" # Our robust relationship inference algorithm is 
implemented in a freely available software package
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_compile(){
+       $(tc-getCXX) ${CXXFLAGS} -lm -lz -fopenmp -o king *.cpp
+}
+
+src_install(){
+       newbin {king,KING}
+       insinto /usr/share/doc/"${PN}"
+       dodoc "${DISTDIR}"/"${PN}"_relationship_inference.html 
"${DISTDIR}"/"${PN}".kingpopulation.html
+}

diff --git a/sci-biology/KING/metadata.xml b/sci-biology/KING/metadata.xml
new file mode 100644
index 000000000..f68a1b6fa
--- /dev/null
+++ b/sci-biology/KING/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>mmokr...@fold.natur.cuni.cz</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>sci-biol...@gentoo.org</email>
+    <name>Gentoo Biology Project</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to