# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/mafft/mafft-6.707.ebuild,v 1.1 2009/07/27 05:53:45 dberkholz Exp $ inherit toolchain-funcs multilib eutils EXTENSIONS="-without-extensions" DESCRIPTION="Multiple sequence alignments using a variety of algorithms" HOMEPAGE="http://align.bmr.kyushu-u.ac.jp/mafft/software/" SRC_URI="http://align.bmr.kyushu-u.ac.jp/mafft/software/${P}${EXTENSIONS}-src.tgz" LICENSE="free-noncomm" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="" DEPEND="${RDEPEND}" S=${WORKDIR}/${P}${EXTENSIONS} src_compile() { pushd core emake \ PREFIX=/usr \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ || die "make failed" popd } src_install() { pushd core emake PREFIX="${D}usr" install || die "install failed" popd dodoc readme }