1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools-utils multilib
8 if [[ ${PV} = 9999 ]]; then
9 EGIT_REPO_URI="https://github.com/lanl/MPI-Bash.git"
12 AUTOTOOLS_AUTORECONF=1
14 SRC_URI="https://github.com/lanl/MPI-Bash/releases/download/v${PV}/${P}.tar.gz"
18 DESCRIPTION="Parallel scripting right from the Bourne-Again Shell (Bash)"
19 HOMEPAGE="https://github.com/lanl/MPI-Bash"
26 >=app-shells/bash-4.2[plugins]
27 sys-cluster/libcircle"
32 --with-bashdir="${EPREFIX}"/usr/include/bash-plugins
33 --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/bash
35 autotools-utils_src_configure
39 autotools-utils_src_install
40 sed -i '/^export LD_LIBRARY_PATH/d' "${ED}/usr/bin/${PN}" || die
41 use examples || rm -r "${ED}/usr/share/doc/${PF}/examples" || die