blob: 409804dc789f9d5c34c3585ef9e35a3800f2bbd8 (
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
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools git-r3
DESCRIPTION="Extract reads from BAM files"
HOMEPAGE="https://github.com/BoutrosLaboratory/bamql
https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-016-1162-y"
EGIT_REPO_URI="https://github.com/BoutrosLaboratory/bamql.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="static-libs"
DEPEND="
sys-devel/llvm:=
sys-apps/util-linux
sci-libs/htslib
dev-libs/libpcre"
RDEPEND="${DEPEND}"
src_prepare(){
eautoreconf
default
}
src_configure(){
local mycmakeargs=()
use static-libs && mycmakeargs+=( "--enable-static=yes" "--enable-static-llvm=yes" ) || \
mycmakeargs+=( "--enable-static=no" "--enable-static-llvm=no" )
econf ${mycmakeargs[@]}
}
|