diff options
author | 2020-02-19 14:09:04 -0700 | |
---|---|---|
committer | 2020-02-19 14:09:59 -0700 | |
commit | 2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6 (patch) | |
tree | ba9823367b437d582074c2152511d2edb664d5a3 /app-shells/mpibash/mpibash-1.3-r1.ebuild | |
parent | media-sound/sonata: 1.7_beta1_p20200212 version bump (diff) | |
download | gentoo-2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6.tar.gz gentoo-2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6.tar.bz2 gentoo-2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6.zip |
app-shells/mpibash: fix build with mpi-3
Closes: https://bugs.gentoo.org/656422
Closes: https://bugs.gentoo.org/708994
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Christoph Junghans <junghans@gentoo.org>
Diffstat (limited to 'app-shells/mpibash/mpibash-1.3-r1.ebuild')
-rw-r--r-- | app-shells/mpibash/mpibash-1.3-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-shells/mpibash/mpibash-1.3-r1.ebuild b/app-shells/mpibash/mpibash-1.3-r1.ebuild new file mode 100644 index 000000000000..fcb33db81ee9 --- /dev/null +++ b/app-shells/mpibash/mpibash-1.3-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://github.com/lanl/MPI-Bash.git" + inherit git-r3 + KEYWORDS="" +else + SRC_URI="https://github.com/lanl/MPI-Bash/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Parallel scripting right from the Bourne-Again Shell (Bash)" +HOMEPAGE="https://github.com/lanl/MPI-Bash" + +LICENSE="GPL-3" +SLOT="0" +IUSE="examples" + +DEPEND="virtual/mpi + >=app-shells/bash-4.2:0[plugins] + sys-cluster/libcircle" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/mpi-3.patch" ) + +src_prepare() { + default + [[ ${PV} != 9999 ]] || eautoreconf +} + +src_configure() { + econf --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/bash \ + --with-bashdir="${EPREFIX}"/usr/include/bash-plugins +} + +src_install() { + default + sed -i '/^export LD_LIBRARY_PATH/d' "${ED}/usr/bin/${PN}" || die + use examples || rm -r "${ED}/usr/share/doc/${PF}/examples" || die +} |