commit:     05cae207afb2ebe27e1a70d679da521529872efc
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Feb 23 03:46:35 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Feb 23 03:46:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05cae207

sys-cluster/AXL: new package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/AXL/AXL-0.3.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++++++
 sys-cluster/AXL/Manifest         |  1 +
 sys-cluster/AXL/metadata.xml     | 13 +++++++++++
 3 files changed, 61 insertions(+)

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 0000000..d7bcca9
--- /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 0000000..785193a
--- /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 0000000..2d5095f
--- /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>[email protected]</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>

Reply via email to