aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-02-23 04:46:35 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-02-23 04:46:35 +0100
commit05cae207afb2ebe27e1a70d679da521529872efc (patch)
tree7c04fe5ebe03a6f83eeeede429fc952be1db39f8 /sys-cluster
parentsys-cluster/KVTree: new package (diff)
downloadguru-05cae207afb2ebe27e1a70d679da521529872efc.tar.gz
guru-05cae207afb2ebe27e1a70d679da521529872efc.tar.bz2
guru-05cae207afb2ebe27e1a70d679da521529872efc.zip
sys-cluster/AXL: new package
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/AXL/AXL-0.3.0.ebuild47
-rw-r--r--sys-cluster/AXL/Manifest1
-rw-r--r--sys-cluster/AXL/metadata.xml13
3 files changed, 61 insertions, 0 deletions
diff --git a/sys-cluster/AXL/AXL-0.3.0.ebuild b/sys-cluster/AXL/AXL-0.3.0.ebuild
new file mode 100644
index 00000000..d7bcca94
--- /dev/null
+++ b/sys-cluster/AXL/AXL-0.3.0.ebuild
@@ -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/.
+}
diff --git a/sys-cluster/AXL/Manifest b/sys-cluster/AXL/Manifest
new file mode 100644
index 00000000..785193a0
--- /dev/null
+++ b/sys-cluster/AXL/Manifest
@@ -0,0 +1 @@
+DIST AXL-0.3.0.tar.gz 36436 BLAKE2B c2d4b42426f7ff879d4329879f0f50d79c163925ce6010c3a38fdafd911dc0378be658d0d25154814ffc7442dca2bd036a547800827171383eb855df9a4010ea SHA512 7cacd3614be94b0344cdd5a5e489c9d1b17cef777749e1c3c4eba642f853d767de1c9eced1fa44f931abeb70c89da2468f6a8fa857c213766bbdac6f3f83ce21
diff --git a/sys-cluster/AXL/metadata.xml b/sys-cluster/AXL/metadata.xml
new file mode 100644
index 00000000..2d5095ff
--- /dev/null
+++ b/sys-cluster/AXL/metadata.xml
@@ -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>