summaryrefslogtreecommitdiff
blob: 5352362369b739fe6d858fcd5cf4e70b7a7c76d8 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/dotur/dotur-1.53.ebuild,v 1.3 2009/08/05 21:10:14 maekke Exp $

EAPI=2

inherit toolchain-funcs

DESCRIPTION="Distance Based OTU and Richness Determination for DNA sequences"
HOMEPAGE="http://schloss.micro.umass.edu/software/dotur.html"
SRC_URI="http://schloss.micro.umass.edu/software/${PN}/${P}.tgz"

LICENSE="as-is"
SLOT="0"
IUSE=""
KEYWORDS="amd64 x86"

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

S="${WORKDIR}/DOTUR-${PV}"

src_compile() {
	sed -i '1 i #include <string.h>\n#include <algorithm>' dotur.C
	$(tc-getCXX) ${CXXFLAGS} -O3 dotur.C -o dotur || die
}

src_install() {
	dobin dotur || die
	dodoc README
}