mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
40 lines
777 B
Bash
40 lines
777 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="SHUFFILE Shuffle files between processes"
|
|
HOMEPAGE="https://github.com/ECP-VeloC/shuffile"
|
|
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="mpi test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
mpi? ( virtual/mpi )
|
|
sys-libs/zlib
|
|
>=sys-cluster/KVTree-1.0.2
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
>=dev-util/cmake-2.8
|
|
"
|
|
src_prepare() {
|
|
#do not build static library
|
|
sed -i '/shuffile-static/d' src/CMakeLists.txt || die
|
|
default
|
|
cmake-utils_src_prepare
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DMPI="$(usex mpi "" OFF)"
|
|
)
|
|
cmake-utils_src_configure
|
|
}
|