1 |
commit: 57aaac2250383519cf73bc1d9d3fc20a1a3c8240 |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Fri Feb 24 13:57:44 2017 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Fri Feb 24 13:57:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=57aaac22 |
7 |
|
8 |
sci-biology/verifyBamID: new package, would benefit unbundling of libStatGen |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sci-biology/verifyBamID/metadata.xml | 12 ++++++++ |
13 |
sci-biology/verifyBamID/verifyBamID-1.1.3.ebuild | 39 ++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/sci-biology/verifyBamID/metadata.xml b/sci-biology/verifyBamID/metadata.xml |
17 |
new file mode 100644 |
18 |
index 000000000..f68a1b6fa |
19 |
--- /dev/null |
20 |
+++ b/sci-biology/verifyBamID/metadata.xml |
21 |
@@ -0,0 +1,12 @@ |
22 |
+<?xml version="1.0" encoding="UTF-8"?> |
23 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
24 |
+<pkgmetadata> |
25 |
+ <maintainer type="person"> |
26 |
+ <email>mmokrejs@×××××××××××××××.cz</email> |
27 |
+ <name>Martin Mokrejs</name> |
28 |
+ </maintainer> |
29 |
+ <maintainer type="project"> |
30 |
+ <email>sci-biology@g.o</email> |
31 |
+ <name>Gentoo Biology Project</name> |
32 |
+ </maintainer> |
33 |
+</pkgmetadata> |
34 |
|
35 |
diff --git a/sci-biology/verifyBamID/verifyBamID-1.1.3.ebuild b/sci-biology/verifyBamID/verifyBamID-1.1.3.ebuild |
36 |
new file mode 100644 |
37 |
index 000000000..dfea2c485 |
38 |
--- /dev/null |
39 |
+++ b/sci-biology/verifyBamID/verifyBamID-1.1.3.ebuild |
40 |
@@ -0,0 +1,39 @@ |
41 |
+# Copyright 1999-2017 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Id$ |
44 |
+ |
45 |
+EAPI=6 |
46 |
+ |
47 |
+inherit toolchain-funcs |
48 |
+ |
49 |
+DESCRIPTION="Verify sample identity/mix and genotype concordance" |
50 |
+HOMEPAGE="http://genome.sph.umich.edu/wiki/VerifyBamID" |
51 |
+SRC_URI="https://github.com/statgen/verifyBamID/archive/v1.1.3.tar.gz -> ${P}.tar.gz |
52 |
+ https://github.com/statgen/libStatGen/archive/v1.0.13.tar.gz -> libStatGen-1.0.13.tar.gz" |
53 |
+ |
54 |
+LICENSE="GPL-3+" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~x86" |
57 |
+IUSE="" |
58 |
+ |
59 |
+# DEPEND="sci-libs/libStatGen" # TODO: currently it uses its own bundled copy |
60 |
+DEPEND="" |
61 |
+RDEPEND="${DEPEND}" |
62 |
+ |
63 |
+src_prepare(){ |
64 |
+ default |
65 |
+ # unpack ./libStatGen-1.0.13/ contents |
66 |
+ gzip -dc "${DISTDIR}"/libStatGen-1.0.13.tar.gz | tar xf - || die |
67 |
+ ln -s libStatGen-1.0.13 libStatGen || die |
68 |
+ cd "${WORKDIR}" || die |
69 |
+ ln -s libStatGen-1.0.13 libStatGen || die |
70 |
+} |
71 |
+ |
72 |
+src_compile(){ |
73 |
+ # LIB_PATH_GENERAL="${EPREFIX}"/usr/"$(get_libdir)" emake |
74 |
+ LIB_PATH_GENERAL="../libStatGen-1.0.13" emake |
75 |
+} |
76 |
+ |
77 |
+src_install(){ |
78 |
+ dobin bin/verifyBamID |
79 |
+} |