commit:     dd7e564441676f8fbce36c262cb15aa865f5b545
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Apr 15 00:11:55 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sat Apr 15 00:11:55 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=dd7e5644

sci-biology/flexbar: version bump, added KEYWORDS

We still could filter away '-Wl,-O1' from CXXFLAGS.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sci-biology/flexbar/flexbar-3.0.0.ebuild | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/sci-biology/flexbar/flexbar-3.0.0.ebuild 
b/sci-biology/flexbar/flexbar-3.0.0.ebuild
new file mode 100644
index 000000000..65f5dd077
--- /dev/null
+++ b/sci-biology/flexbar/flexbar-3.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Barcode, MID tag and adapter sequence removal"
+HOMEPAGE="https://github.com/seqan/flexbar";
+SRC_URI="https://github.com/seqan/flexbar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="
+       dev-cpp/tbb
+       >=sci-biology/seqan-2.1.1:0
+       sys-libs/zlib
+       app-arch/bzip2"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+# TODO: need to call 'pkg-config --cflags seqan-2.2' and pass it down
+src_configure() {
+       local CPPFLAGS=${CPPFLAGS}
+       append-cppflags `pkg-config --cflags seqan-2.2`
+       local CXXFLAGS="${CXXFLAGS}"
+       append-cxxflags "-std=c++14"
+       cmake-utils_src_configure
+}
+
+# SeqAn requires C++14! You must compile your application with -std=c++14, 
-std=gnu++14 or -std=c++1y
+# https://github.com/seqan/flexbar/issues/8
+
+src_install(){
+       elog `pwd`
+       dobin ../"${P}"_build/flexbar
+       dodoc ../"${P}"/README.md
+}

Reply via email to