Files
guru/sys-cluster/AXL/AXL-0.5.0.ebuild
Alessandro Barbieri 7e2ece5c40 sys-cluster/AXL: add 0.5.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-10-30 21:37:43 +02:00

47 lines
867 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="AXL provides a common C interface to transfer files in an HPC storage hierarchy."
HOMEPAGE="https://github.com/ECP-VeloC/AXL"
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
sys-libs/zlib
sys-cluster/KVTree
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/cmake-2.8
"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${P}-no-static.patch"
"${FILESDIR}/no-install-readme.patch"
)
src_configure() {
local mycmakeargs=(
-DAXL_LINK_STATIC=OFF
-DBUILD_SHARED_LIBS=ON
-DENABLE_CRAY_DW=OFF
-DENABLE_IBM_BBAPI=OFF
-DENABLE_TESTS=$(usex test)
)
cmake_src_configure
}
src_install() {
cmake_src_install
dodoc -r doc/.
}