1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools-utils multilib
9 if [[ ${PV} = 9999 ]]; then
10 EGIT_REPO_URI="git://github.com/losalamos/MPI-Bash.git https://github.com/losalamos/MPI-Bash.git"
13 AUTOTOOLS_AUTORECONF=1
15 SRC_URI="https://github.com/losalamos/MPI-Bash/releases/download/v${PV}/${P}.tar.gz"
19 DESCRIPTION="Parallel scripting right from the Bourne-Again Shell (Bash)"
20 HOMEPAGE="https://github.com/losalamos/MPI-Bash"
27 >=app-shells/bash-4.2[plugins]
28 sys-cluster/libcircle"
33 --with-bashdir="${EPREFIX}"/usr/include/bash-plugins
34 --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/bash
36 autotools-utils_src_configure
40 autotools-utils_src_install
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