commit:     26242100ae861907ae58864ffac9163bf9be51ed
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sun Feb 26 13:52:38 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sun Feb 26 13:52:38 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=26242100

sci-biology/flexbar: version bump

https://github.com/seqan/flexbar/issues/8

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/flexbar/flexbar-2.4.ebuild   | 23 ----------------------
 sci-biology/flexbar/flexbar-2.7.0.ebuild | 33 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 23 deletions(-)

diff --git a/sci-biology/flexbar/flexbar-2.4.ebuild 
b/sci-biology/flexbar/flexbar-2.4.ebuild
deleted file mode 100644
index 515dabcfc..000000000
--- a/sci-biology/flexbar/flexbar-2.4.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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://sourceforge.net/p/flexbar/wiki/Manual";
-SRC_URI="http://sourceforge.net/projects/flexbar/files/2.4/flexbar_v2.4_src.tgz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-CDEPEND="
-       dev-cpp/tbb
-       >=sci-biology/seqan-1.4.1:0"
-DEPEND="${CDEPEND}"
-RDEPEND="${CDEPEND}"
-
-S="${WORKDIR}"/"${PN}"_v"${PV}"_src

diff --git a/sci-biology/flexbar/flexbar-2.7.0.ebuild 
b/sci-biology/flexbar/flexbar-2.7.0.ebuild
new file mode 100644
index 000000000..5fbee3998
--- /dev/null
+++ b/sci-biology/flexbar/flexbar-2.7.0.ebuild
@@ -0,0 +1,33 @@
+# 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=""
+IUSE=""
+
+CDEPEND="
+       dev-cpp/tbb
+       >=sci-biology/seqan-2.1.1:0"
+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

Reply via email to