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/flexbar/
Date: Sat, 15 Apr 2017 00:12:14
Message-Id: 1492215115.dd7e564441676f8fbce36c262cb15aa865f5b545.mmokrejs@gentoo
1 commit: dd7e564441676f8fbce36c262cb15aa865f5b545
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Sat Apr 15 00:11:55 2017 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Sat Apr 15 00:11:55 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=dd7e5644
7
8 sci-biology/flexbar: version bump, added KEYWORDS
9
10 We still could filter away '-Wl,-O1' from CXXFLAGS.
11
12 Package-Manager: Portage-2.3.5, Repoman-2.3.2
13
14 sci-biology/flexbar/flexbar-3.0.0.ebuild | 41 ++++++++++++++++++++++++++++++++
15 1 file changed, 41 insertions(+)
16
17 diff --git a/sci-biology/flexbar/flexbar-3.0.0.ebuild b/sci-biology/flexbar/flexbar-3.0.0.ebuild
18 new file mode 100644
19 index 000000000..65f5dd077
20 --- /dev/null
21 +++ b/sci-biology/flexbar/flexbar-3.0.0.ebuild
22 @@ -0,0 +1,41 @@
23 +# Copyright 1999-2017 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +inherit cmake-utils
29 +
30 +DESCRIPTION="Barcode, MID tag and adapter sequence removal"
31 +HOMEPAGE="https://github.com/seqan/flexbar"
32 +SRC_URI="https://github.com/seqan/flexbar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="GPL-3"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +IUSE=""
38 +
39 +CDEPEND="
40 + dev-cpp/tbb
41 + >=sci-biology/seqan-2.1.1:0
42 + sys-libs/zlib
43 + app-arch/bzip2"
44 +DEPEND="${CDEPEND}"
45 +RDEPEND="${CDEPEND}"
46 +
47 +# TODO: need to call 'pkg-config --cflags seqan-2.2' and pass it down
48 +src_configure() {
49 + local CPPFLAGS=${CPPFLAGS}
50 + append-cppflags `pkg-config --cflags seqan-2.2`
51 + local CXXFLAGS="${CXXFLAGS}"
52 + append-cxxflags "-std=c++14"
53 + cmake-utils_src_configure
54 +}
55 +
56 +# SeqAn requires C++14! You must compile your application with -std=c++14, -std=gnu++14 or -std=c++1y
57 +# https://github.com/seqan/flexbar/issues/8
58 +
59 +src_install(){
60 + elog `pwd`
61 + dobin ../"${P}"_build/flexbar
62 + dodoc ../"${P}"/README.md
63 +}