summaryrefslogtreecommitdiff
blob: 83312f64057b0e9dcb04dc6f55e08c685990f3a6 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/mafft/mafft-5.861-r1.ebuild,v 1.1 2006/11/09 14:52:49 dberkholz Exp $

inherit toolchain-funcs multilib

DESCRIPTION="Multiple sequence alignments using a variety of algorithms"
HOMEPAGE="http://www.biophys.kyoto-u.ac.jp/~katoh/programs/align/mafft/"
SRC_URI="http://www.biophys.kyoto-u.ac.jp/~katoh/programs/align/mafft/${P}-src.tgz"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"

src_compile() {
	cd src
	emake \
		PREFIX="/usr/$(get_libdir)/${PN}" \
		CC="$(tc-getCC)" \
		CFLAG="${CFLAGS}" \
		|| die "make failed"
}

src_install() {
	pushd src
	emake PREFIX="${D}usr/$(get_libdir)/${PN}" install || die "install failed"
	popd
	dodoc readme
}