mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
39 lines
692 B
Bash
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
|
|
}
|