mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
sys-cluster/libyogrt: add 1.27
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
38
sys-cluster/libyogrt/libyogrt-1.27.ebuild
Normal file
38
sys-cluster/libyogrt/libyogrt-1.27.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user