aboutsummaryrefslogtreecommitdiff
blob: 8e2319afab53c6391778850d24a113d3b7e83428 (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
# $Header: $

EAPI=5

inherit toolchain-funcs

[ "$PV" == "9999" ] && inherit git-r3

DESCRIPTION="NGS reads corrector"
HOMEPAGE="https://github.com/mourisl/Lighter"
if [ "$PV" == "9999" ]; then
	EGIT_REPO_URI="https://github.com/mourisl/Lighter.git"
	KEYWORDS=""
else
	SRC_URI=""
	KEYWORDS=""
fi

LICENSE="GPL-2+"
SLOT="0"
IUSE="threads"

DEPEND="sys-libs/zlib
	sci-libs/bloom"
RDEPEND="${DEPEND}"

src_prepare(){
	sed -e "s#g++#$(tc-getCC)#;s#-Wall -O3#${CXXFLAGS}#" -i Makefile || die
}

src_install(){
	dobin lighter
	dodoc README.md
}