1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools multilib
8 if [[ ${PV} = 9999 ]]; then
9 EGIT_REPO_URI="https://github.com/lanl/MPI-Bash.git"
13 SRC_URI="https://github.com/lanl/MPI-Bash/releases/download/v${PV}/${P}.tar.gz"
17 DESCRIPTION="Parallel scripting right from the Bourne-Again Shell (Bash)"
18 HOMEPAGE="https://github.com/lanl/MPI-Bash"
25 >=app-shells/bash-4.2:0[plugins]
26 sys-cluster/libcircle"
31 [[ ${PV} != 9999 ]] || eautoreconf
35 econf --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/bash \
36 --with-bashdir="${EPREFIX}"/usr/include/bash-plugins
41 sed -i '/^export LD_LIBRARY_PATH/d' "${ED}/usr/bin/${PN}" || die
42 use examples || rm -r "${ED}/usr/share/doc/${PF}/examples" || die