blob: b390f50562e7f67125a649bc76c7ac90dc566c65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
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"
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_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(){
dobin ../"${P}"_build/flexbar
dodoc ../"${P}"/README.md
}
|