1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="An MPI implemention of the ClustalW general purpose multiple alignment algorithm"
9 HOMEPAGE="http://www.bii.a-star.edu.sg/achievements/applications/clustalw/index.php"
10 SRC_URI="http://web.bii.a-star.edu.sg/~kuobin/${PN}/${P}.tar.gz"
12 LICENSE="public-domain"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="mpi_njtree static_pairalign"
20 PATCHES=( "${FILESDIR}"/${PV}-gentoo.patch )
25 if use mpi_njtree; then
26 sed -e "s/TREES_FLAG/#TREES_FLAG/" -i Makefile || \
27 die "Failed to configure MPI code for NJ trees"
30 if use static_pairalign; then
31 sed -e "s/DDYNAMIC_SCHEDULING/DSTATIC_SCHEDULING/" -i Makefile || \
32 die "Failed to configure static scheduling for pair alignments"
38 newdoc README.${PN} README