blob: b5c5cc6dabc26655ec30cda703e88f21f98b6074 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools multilib-minimal
DESCRIPTION="MPI substitute library"
HOMEPAGE="http://wissrech.ins.uni-bonn.de/research/projects/nullmpi/"
SRC_URI="http://wissrech.ins.uni-bonn.de/research/projects/nullmpi/${PF}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
RDEPEND="
!sys-cluster/openmpi
!sys-cluster/mpich
!sys-cluster/mpich2
!sys-cluster/mvapich2
!sys-cluster/native-mpi"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-libtool.patch" )
MULTILIB_WRAPPED_HEADERS=(
/usr/include/nullmpi_conf.h
)
src_prepare() {
default
eautoreconf
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf --enable-shared $(use_enable static-libs static)
}
multilib_src_install_all() {
einstalldocs
#no deps
find "${ED}" -name '*.la' -delete || die
}
|