blob: 8401f6468846c59f86b62096e12d5b617b287c38 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
MY_P="${P^h}"
DESCRIPTION="High-Performance I/O Library for Particle-based Simulations"
HOMEPAGE="http://www-vis.lbl.gov/Research/H5hut/"
SRC_URI="https://amas.psi.ch/H5hut/raw-attachment/wiki/DownloadSources/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# < dep on hdf5 because of bug #809221
# Needs a proper fix.
DEPEND="
virtual/mpi
<sci-libs/hdf5-1.12[mpi]
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-mpio.patch"
"${FILESDIR}/${P}-autotools.patch"
)
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf --enable-parallel --enable-shared --disable-static CC=mpicc CXX=mpicxx
}
|