commit:     4479f4611c44cd94da7fb08c8f867938dca2dd3a
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar  6 01:45:12 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar  6 02:22:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4479f461

sys-cluster/libyogrt: add 1.27

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/libyogrt/Manifest             |  1 +
 sys-cluster/libyogrt/libyogrt-1.27.ebuild | 38 +++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/sys-cluster/libyogrt/Manifest b/sys-cluster/libyogrt/Manifest
index 125fe5bc6..4c67839ee 100644
--- a/sys-cluster/libyogrt/Manifest
+++ b/sys-cluster/libyogrt/Manifest
@@ -1 +1,2 @@
 DIST libyogrt-1.24.tar.gz 37803 BLAKE2B 
b79310d7a0b7f32d3bab5582640006386ea5fa15ee169b7104c4c194948a4c2282d7a4fb748e3dd98a17096d289f63f97204201533620aa5d5c0181ae40f76c6
 SHA512 
e761a5ff397b55da0769c7a42a03a170efe9d52102166aa6ccdb9a8949bd844f201a4a4a1e1010320a82132d0b19b468c1ee74e42af603f341232d6a5147d745
+DIST libyogrt-1.27.tar.gz 43479 BLAKE2B 
75120f6af932c75efc80acb75f0b73ddeb56e348820e0a20d3597a61143fca654a215b5c61503c4e354d607736497a9c6109239c9b5a16ca35290383163b2927
 SHA512 
7a23a05fec70206449618feeeee21eb8f0c55900fbd824e3c60cf54f2cb632e263696fa72e4d1a609160edb1b44585f87ca3efbde54ca352eb92a1d06f718ffb

diff --git a/sys-cluster/libyogrt/libyogrt-1.27.ebuild 
b/sys-cluster/libyogrt/libyogrt-1.27.ebuild
new file mode 100644
index 000000000..1fdd0e315
--- /dev/null
+++ b/sys-cluster/libyogrt/libyogrt-1.27.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Your One Get Remaining Time library"
+HOMEPAGE="https://github.com/LLNL/libyogrt";
+SRC_URI="https://github.com/LLNL/libyogrt/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="slurm"
+
+RDEPEND="slurm? ( sys-cluster/slurm )"
+DEPEND="${RDEPEND}"
+
+#TODO: flux
+
+src_prepare() {
+       default
+       AT_M4DIR="config" eautoreconf
+}
+
+src_configure() {
+       local myconf
+
+       use slurm && myconf+=( "--with-slurm=${EPREFIX}/usr" )
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to