aboutsummaryrefslogtreecommitdiff
blob: 4af286fcbb925312246fc6c664b0bbb1d823916c (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Correct substitution errors in Illumina reads"
HOMEPAGE="http://www.genome.umd.edu/quorum.html
	https://github.com/gmarcais/Quorum"
SRC_URI="https://github.com/gmarcais/Quorum/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=">=sci-biology/jellyfish-2.1.4:2"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	# fix jellyfish include path
	find -type f -name "*.cc" -exec sed -i -e 's/<jellyfish\//<jellyfish2\//g' {} + || die
	find -type f -name "*.hpp" -exec sed -i -e 's/<jellyfish\//<jellyfish2\//g' {} + || die
}

src_configure(){
	econf --enable-relative-paths --with-relative-jf-path
	default
}