blob: a2d4897ee65ebb84ab47dc19259d4fe82a481914 (
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
40
41
42
43
44
45
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils git-r3
DESCRIPTION="String Graph Assembler for short-read assemblies"
HOMEPAGE="https://github.com/jts/sga"
EGIT_REPO_URI="git://github.com/jts/sga"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="jemalloc python"
DEPEND="dev-cpp/sparsehash
sci-biology/bamtools
sys-libs/zlib
jemalloc? ( dev-libs/jemalloc )
python? ( sci-biology/pysam
sci-biology/ruffus )"
RDEPEND="${DEPEND}"
src_configure(){
cd src || die
./autogen.sh || die
econf --with-bamtools=/usr
}
src_compile(){
cd src || die
default
}
src_install(){
cd src || die
dodoc README
emake install DESTDIR="${D}"
insinto /usr/share/sga/examples
doins examples/*
cd .. ||
dodoc README.md
}
|