aboutsummaryrefslogtreecommitdiff
blob: 8cd4c3ba23815ff572d1fc78b3e1bd09ed7797ad (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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit git-r3

DESCRIPTION="Parallell process SAM/BAM/CRAM files faster than samtools"
HOMEPAGE="http://lomereiter.github.io/sambamba"
EGIT_REPO_URI="https://github.com/lomereiter/sambamba.git"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
IUSE="debug"

DEPEND=""
RDEPEND="${DEPEND}"

# https://github.com/ldc-developers/gentoo-overlay/tree/master/dev-lang/ldc2

src_compile(){
	if use debug ; then
		emake sambamba-ldmd2-debug
	else
		emake sambamba-ldmd2-64
	fi
}