aboutsummaryrefslogtreecommitdiff
blob: 0c4fe10b372b0ae996163bc771179200c155dfc5 (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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit toolchain-funcs

DESCRIPTION="De novo short read assembler"
HOMEPAGE="http://www.genomic.ch/edena.php"
SRC_URI="http://www.genomic.ch/edena/EdenaV"${PV}".tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

S="${WORKDIR}"/EdenaV"${PV}"

src_prepare(){
	sed -e "s@^CCC.*@CCC = $(tc-getCXX)@" -e "s@^CFLAGS.*@CFLAGS = ${CFLAGS} -pthread@" -i src/Makefile || die
}

src_compile(){
	cd src
	emake
}

src_install(){
	dobin src/edena
	dodoc referenceManual.pdf
}