summaryrefslogtreecommitdiff
blob: 3e15653d504ac059a8572f03595c660f829d46da (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_P="${P^^[hp]}"
DESCRIPTION="Portable High Performance Parallel Data Interface to HDF5"
HOMEPAGE="http://vis.lbl.gov/Research/H5Part/"
SRC_URI="https://codeforge.lbl.gov/frs/download.php/latestfile/18/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="
	virtual/mpi
	sci-libs/hdf5[mpi]
	"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${P}-mpio.patch" )

S="${WORKDIR}/${MY_P}"

src_configure() {
	econf --enable-parallel --enable-shared --disable-static CC=mpicc CXX=mpicxx
}