blob: 99053dc6faf4315905bb34162addd19785b3283c (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/fasttree/fasttree-2.0.1.ebuild,v 1.1 2009/09/10 23:14:22 weaver Exp $
EAPI=2
inherit toolchain-funcs
DESCRIPTION="Rapid reconstruction of phylogenies by the Neighbor-Joining method"
HOMEPAGE="http://www.sanger.ac.uk/Software/analysis/quicktree/"
SRC_URI="ftp://ftp.sanger.ac.uk/pub4/resources/software/quicktree/quicktree.tar.gz -> quicktree-${PV}.tar.gz"
LICENSE="as-is"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
S=${WORKDIR}/${PN}_${PV}
src_prepare() {
sed -e "s/\-O2 \-Wall/${CFLAGS}/" \
-i Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)" LFLAGS="${LDFLAGS}" || die
}
src_install() {
dobin bin/quicktree || die
dodoc README || die
}
|