summaryrefslogtreecommitdiff
blob: d505663998af833f78fc8fb4bcb95e8bfabcf477 (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/phyml/phyml-2.4.5-r1.ebuild,v 1.2 2010/07/16 09:54:58 fauli Exp $

inherit toolchain-funcs

DESCRIPTION="Estimation of large phylogenies by maximum likelihood"
HOMEPAGE="http://atgc.lirmm.fr/phyml/"
SRC_URI="http://www.lirmm.fr/~guindon/${PN}_v${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}/${PN}_v${PV}"

src_unpack() {
	unpack ${A}
	sed -i -e 's/^hello !!!//' \
		-e 's/^CFLAGS =/#CFLAGS =/' \
		-e 's/^CC =/CC ='$(tc-getCC)'#/' \
		-e 's/-static//' "${S}/Makefile"
}

src_install() {
	dobin phyml
}