1 |
commit: f6c7d5c837dda8298c255130f35c513a19934f5a |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Fri Jun 30 16:51:37 2017 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Fri Jul 28 20:05:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f6c7d5c8 |
7 |
|
8 |
sci-biology/KING: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
sci-biology/KING/KING-20161017.ebuild | 33 +++++++++++++++++++++++++++++++++ |
13 |
sci-biology/KING/metadata.xml | 12 ++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/sci-biology/KING/KING-20161017.ebuild b/sci-biology/KING/KING-20161017.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..95ba91702 |
19 |
--- /dev/null |
20 |
+++ b/sci-biology/KING/KING-20161017.ebuild |
21 |
@@ -0,0 +1,33 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+inherit eutils toolchain-funcs |
28 |
+ |
29 |
+DESCRIPTION="Check family relationship and infer population structure" |
30 |
+HOMEPAGE="http://people.virginia.edu/~wc9c/KING |
31 |
+ http://people.virginia.edu/~wc9c/publications/pdf/BI26_2867.pdf" |
32 |
+SRC_URI="http://people.virginia.edu/~wc9c/KING/KINGcode.tar.gz -> ${P}.tar.gz |
33 |
+ http://people.virginia.edu/~wc9c/KING/manual.html -> ${PN}_relationship_inference.html |
34 |
+ http://people.virginia.edu/~wc9c/KING/kingpopulation.html -> ${PN}.kingpopulation.html" |
35 |
+ |
36 |
+LICENSE="all-rights-reserved" # Our robust relationship inference algorithm is implemented in a freely available software package |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="" |
40 |
+ |
41 |
+DEPEND="" |
42 |
+RDEPEND="${DEPEND}" |
43 |
+ |
44 |
+S="${WORKDIR}" |
45 |
+ |
46 |
+src_compile(){ |
47 |
+ $(tc-getCXX) ${CXXFLAGS} -lm -lz -fopenmp -o king *.cpp |
48 |
+} |
49 |
+ |
50 |
+src_install(){ |
51 |
+ newbin {king,KING} |
52 |
+ insinto /usr/share/doc/"${PN}" |
53 |
+ dodoc "${DISTDIR}"/"${PN}"_relationship_inference.html "${DISTDIR}"/"${PN}".kingpopulation.html |
54 |
+} |
55 |
|
56 |
diff --git a/sci-biology/KING/metadata.xml b/sci-biology/KING/metadata.xml |
57 |
new file mode 100644 |
58 |
index 000000000..f68a1b6fa |
59 |
--- /dev/null |
60 |
+++ b/sci-biology/KING/metadata.xml |
61 |
@@ -0,0 +1,12 @@ |
62 |
+<?xml version="1.0" encoding="UTF-8"?> |
63 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
64 |
+<pkgmetadata> |
65 |
+ <maintainer type="person"> |
66 |
+ <email>mmokrejs@×××××××××××××××.cz</email> |
67 |
+ <name>Martin Mokrejs</name> |
68 |
+ </maintainer> |
69 |
+ <maintainer type="project"> |
70 |
+ <email>sci-biology@g.o</email> |
71 |
+ <name>Gentoo Biology Project</name> |
72 |
+ </maintainer> |
73 |
+</pkgmetadata> |