Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/lighter/
Date: Fri, 01 May 2015 21:48:23
Message-Id: 1430516858.f0525146c4040655c2e34e13a6d8ecdcaeec172b.mmokrejs@gentoo
1 commit: f0525146c4040655c2e34e13a6d8ecdcaeec172b
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Fri May 1 21:47:38 2015 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Fri May 1 21:47:38 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f0525146
7
8 sci-libs/lighter: new package; contains IUSE=threads but ... does the Makefile need a tweak for -lpthreads ? ;-). Go ahead and fix this.
9
10 Package-Manager: portage-2.2.18
11
12 sci-biology/lighter/ChangeLog | 10 +++++++++
13 sci-biology/lighter/lighter-9999.ebuild | 36 +++++++++++++++++++++++++++++++++
14 sci-biology/lighter/metadata.xml | 9 +++++++++
15 3 files changed, 55 insertions(+)
16
17 diff --git a/sci-biology/lighter/ChangeLog b/sci-biology/lighter/ChangeLog
18 new file mode 100644
19 index 0000000..a24b936
20 --- /dev/null
21 +++ b/sci-biology/lighter/ChangeLog
22 @@ -0,0 +1,10 @@
23 +# ChangeLog for sci-biology/lighter
24 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
25 +# $Header: $
26 +
27 +*lighter-9999 (01 May 2015)
28 +
29 + 01 May 2015; Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
30 + +lighter-9999.ebuild, +metadata.xml:
31 + sci-libs/lighter: new package; contains IUSE=threads but ... does the Makefile
32 + need a tweak for -lpthreads ? ;-). Go ahead and fix this.
33
34 diff --git a/sci-biology/lighter/lighter-9999.ebuild b/sci-biology/lighter/lighter-9999.ebuild
35 new file mode 100644
36 index 0000000..8e2319a
37 --- /dev/null
38 +++ b/sci-biology/lighter/lighter-9999.ebuild
39 @@ -0,0 +1,36 @@
40 +# Copyright 1999-2015 Gentoo Foundation
41 +# Distributed under the terms of the GNU General Public License v2
42 +# $Header: $
43 +
44 +EAPI=5
45 +
46 +inherit toolchain-funcs
47 +
48 +[ "$PV" == "9999" ] && inherit git-r3
49 +
50 +DESCRIPTION="NGS reads corrector"
51 +HOMEPAGE="https://github.com/mourisl/Lighter"
52 +if [ "$PV" == "9999" ]; then
53 + EGIT_REPO_URI="https://github.com/mourisl/Lighter.git"
54 + KEYWORDS=""
55 +else
56 + SRC_URI=""
57 + KEYWORDS=""
58 +fi
59 +
60 +LICENSE="GPL-2+"
61 +SLOT="0"
62 +IUSE="threads"
63 +
64 +DEPEND="sys-libs/zlib
65 + sci-libs/bloom"
66 +RDEPEND="${DEPEND}"
67 +
68 +src_prepare(){
69 + sed -e "s#g++#$(tc-getCC)#;s#-Wall -O3#${CXXFLAGS}#" -i Makefile || die
70 +}
71 +
72 +src_install(){
73 + dobin lighter
74 + dodoc README.md
75 +}
76
77 diff --git a/sci-biology/lighter/metadata.xml b/sci-biology/lighter/metadata.xml
78 new file mode 100644
79 index 0000000..2bc8930
80 --- /dev/null
81 +++ b/sci-biology/lighter/metadata.xml
82 @@ -0,0 +1,9 @@
83 +<?xml version="1.0" encoding="UTF-8"?>
84 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
85 +<pkgmetadata>
86 + <herd>sci-biology</herd>
87 + <maintainer>
88 + <email>mmokrejs@×××××××××××××××.cz</email>
89 + <name>Martin Mokrejs</name>
90 + </maintainer>
91 +</pkgmetadata>