sys-cluster/AXL: new package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-02-23 04:46:35 +01:00
parent 51c357668d
commit 05cae207af
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit cmake-utils
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"
RESTRICT="!test? ( test )"
RDEPEND="
sys-libs/zlib
sys-cluster/KVTree
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/cmake-2.8
"
src_prepare() {
#do not build static library
sed -i '/axl-static/d' src/CMakeLists.txt || die
#do not auto install README
sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
default
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
#other options available: CRAY_DW INTEL_CPPR IBM_BBAPI
-DAXL_ASYNC_API=NONE
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
dodoc -r doc/.
}

1
sys-cluster/AXL/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST AXL-0.3.0.tar.gz 36436 BLAKE2B c2d4b42426f7ff879d4329879f0f50d79c163925ce6010c3a38fdafd911dc0378be658d0d25154814ffc7442dca2bd036a547800827171383eb855df9a4010ea SHA512 7cacd3614be94b0344cdd5a5e489c9d1b17cef777749e1c3c4eba642f853d767de1c9eced1fa44f931abeb70c89da2468f6a8fa857c213766bbdac6f3f83ce21

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">ECP-VeloC/AXL</remote-id>
</upstream>
<longdescription lang="en">AXL defines a common interface for transferring files between layers in a storage hierarchy. It abstracts vendor-specific APIs and provides synchronous and asynchronous methods using POSIX. One creates a transfer object, defining the transfer type, and then one adds files to the transfer. Once all files have been added, one initiates the transfer and can then later test or wait for its completion. The library optionally records the state of ongoing transfers, so that they can be identified or terminated even if the process that initiated the transfer has been restarted.
</longdescription>
</pkgmetadata>