Files
guru/sys-cluster/launchmon/launchmon-1.0.2_p20210430-r1.ebuild
Andrew Ammerlaan 647a3fe8c3 sys-cluster/launchmon: shorten description
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2021-07-24 17:53:03 +02:00

56 lines
1.1 KiB
Bash

# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
COMMIT="98ab769c53563f47c4319ce3c98ac394b4870bac"
MYPV="$(ver_cut 1-3)"
inherit autotools flag-o-matic
DESCRIPTION="Enables HPC run-time tools to co-locate tool daemons with a parallel job"
HOMEPAGE="https://github.com/LLNL/LaunchMON"
SRC_URI="https://github.com/LLNL/LaunchMON/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/LaunchMON-${COMMIT}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+munge tracing-cost"
RDEPEND="
dev-libs/boost:=
dev-libs/libgcrypt
dev-libs/libgpg-error
virtual/libelf
munge? ( sys-auth/munge )
"
DEPEND="${RDEPEND}"
src_prepare() {
default
sed -e "s|m4_esyscmd.*|${MYPV})|g" -i configure.ac || die
eautoreconf
}
src_configure() {
append-cxxflags "-std=c++14"
local sec="none"
use munge && sec="munge"
local myconf=(
--enable-shared
--enable-sec-${sec}
$(use_enable tracing-cost)
)
econf "${myconf[@]}"
}
src_install() {
default
mv "${ED}/usr/etc" "${ED}" || die
find "${ED}" -name '*.la' -delete || die
find "${ED}" -name '*.a' -delete || die
}