Files
guru/sys-cluster/libyogrt/libyogrt-1.28.ebuild
Alessandro Barbieri 2cf7a99ed1 sys-cluster/libyogrt: add 1.28, drop 1.24
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-28 07:57:31 +02:00

39 lines
692 B
Bash

# 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
}