mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
sys-cluster/AXL: new version
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
41
sys-cluster/AXL/AXL-0.4.0.ebuild
Normal file
41
sys-cluster/AXL/AXL-0.4.0.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
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"
|
||||
RESTRICT="!test? ( test )"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/no-static-${PV}.patch"
|
||||
"${FILESDIR}/no-install-readme.patch"
|
||||
)
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
sys-cluster/KVTree
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-util/cmake-2.8
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
#other options available: CRAY_DW INTEL_CPPR IBM_BBAPI
|
||||
-DAXL_ASYNC_API=NONE
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
dodoc -r doc/.
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST AXL-0.3.0.tar.gz 36436 BLAKE2B c2d4b42426f7ff879d4329879f0f50d79c163925ce6010c3a38fdafd911dc0378be658d0d25154814ffc7442dca2bd036a547800827171383eb855df9a4010ea SHA512 7cacd3614be94b0344cdd5a5e489c9d1b17cef777749e1c3c4eba642f853d767de1c9eced1fa44f931abeb70c89da2468f6a8fa857c213766bbdac6f3f83ce21
|
||||
DIST AXL-0.4.0.tar.gz 47348 BLAKE2B a84b53b2c8d17a33a1ea95a3063210b40d3ca17151d9579f40ac8f70e32fe36bb79f4660efa3dedfbb0cce550cf6f14cdf7861d883b2e7f4c79ed88ab432ee70 SHA512 64d13600da8540b8d40b7de6ec242434fc437bb6b62aa5cebd6a3c5c2d8e2c0cae9311a6af99f19981fbeb0522b7148a28efb3d4e69b727bfc69711cf21a8419
|
||||
|
||||
12
sys-cluster/AXL/files/no-install-readme.patch
Normal file
12
sys-cluster/AXL/files/no-install-readme.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/CMakeLists.txt 2021-04-15 02:41:40.120725634 +0200
|
||||
+++ b/CMakeLists.txt 2021-04-15 02:42:14.146330416 +0200
|
||||
@@ -125,9 +125,6 @@
|
||||
SET_SOURCE_FILES_PROPERTIES(config.h.in PROPERTIES GENERATED FALSE)
|
||||
SET_SOURCE_FILES_PROPERTIES(${PROJECT_BINARY_DIR}/config.h PROPERTIES GENERATED TRUE)
|
||||
|
||||
-# Special Install Files
|
||||
-INSTALL(FILES README.md DESTINATION ${CMAKE_INSTALL_DATADIR}/axl)
|
||||
-
|
||||
# Package
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Asynchronous Transfer Library")
|
||||
SET(CPACK_PACKAGE_VENDOR "Lawrence Livermore National Laboratory")
|
||||
16
sys-cluster/AXL/files/no-static-0.4.0.patch
Normal file
16
sys-cluster/AXL/files/no-static-0.4.0.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
--- a/src/CMakeLists.txt 2021-04-15 02:42:47.537923628 +0200
|
||||
+++ b/src/CMakeLists.txt 2021-04-15 02:43:07.157272036 +0200
|
||||
@@ -29,13 +29,3 @@
|
||||
TARGET_LINK_LIBRARIES(axl ${AXL_EXTERNAL_LIBS})
|
||||
SET_TARGET_PROPERTIES(axl PROPERTIES OUTPUT_NAME axl CLEAN_DIRECT_OUTPUT 1)
|
||||
INSTALL(TARGETS axl DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
-
|
||||
-ADD_LIBRARY(axl-static STATIC $<TARGET_OBJECTS:axl_o>)
|
||||
-IF(AXL_LINK_STATIC)
|
||||
- SET_TARGET_PROPERTIES(axl-static PROPERTIES LINK_SEARCH_START_STATIC 1)
|
||||
- SET_TARGET_PROPERTIES(axl-static PROPERTIES LINK_SEARCH_END_STATIC 1)
|
||||
-ENDIF(AXL_LINK_STATIC)
|
||||
-TARGET_LINK_LIBRARIES(axl-static ${AXL_EXTERNAL_LIBS})
|
||||
-
|
||||
-SET_TARGET_PROPERTIES(axl-static PROPERTIES OUTPUT_NAME axl CLEAN_DIRECT_OUTPUT 1)
|
||||
-INSTALL(TARGETS axl-static DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
Reference in New Issue
Block a user