blob: 8be6a9d2389c60d31c0ac674429acf6b35b7c789 (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit git-r3
DESCRIPTION="Error correction for Illumina RNA-seq reads"
HOMEPAGE="https://github.com/mourisl/Rcorrector"
SRC_URI=""
EGIT_REPO_URI="https://github.com/mourisl/Rcorrector.git"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=">=sci-biology/jellyfish-2.1.3"
RDEPEND="${DEPEND}
dev-lang/perl"
src_prepare(){
# prevent building of jellyfish from bundled sources
mkdir -p jellyfish-2.1.3/bin
touch jellyfish-2.1.3/bin/jellyfish
sed -e "s#-Wall -O3#${CXXFLAGS}#" -i Makefile || die
}
src_install(){
dobin rcorrector run_rcorrector.pl
}
pkg_postinst(){
einfo "Note that the default kmer size 23 is suboptimal, use k=31 instead"
}
|