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

EAPI=6

DESCRIPTION="C++11 framework for rapid develop and deploy of bioinformatic tasks"
HOMEPAGE="https://sourceforge.net/projects/molbiolib"
SRC_URI="https://sourceforge.net/projects/molbiolib/files/MolBioLib_public.version${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="" # does not build
IUSE="doc"

# contains bundled samtools-0.1.18 and bamtools (pezmaster31-bamtools-d553a62) which contains jsoncpp
# also needs app-doc/doxygen
DEPEND="dev-lang/perl
	sys-devel/gcc:*
	sys-devel/clang
	>=sci-biology/samtools-0.1.18:0
	<sci-biology/samtools-1:0
	doc? ( app-doc/doxygen )"
RDEPEND="${DEPEND}"

S="${WORKDIR}"/MolBioLib

src_prepare(){
	# edit MakeAllApps.pl
	default
}

src_compile(){
	perl MakeAllApps.pl || die
}

src_install(){
	dodoc -r docs/doxygen/*
}