sys-cluster/lwgrp: add 1.0.5

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-26 08:30:01 +01:00
parent daf9eab9a7
commit 52ec287d2c
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Light-weight Group Library"
HOMEPAGE="https://github.com/LLNL/lwgrp"
SRC_URI="https://github.com/LLNL/lwgrp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="mpianysource"
RDEPEND="virtual/mpi"
DEPEND="${RDEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
local myconf=(
$(use_enable mpianysource)
)
econf "${myconf[@]}"
}
src_install() {
default
rm -r "${ED}/usr/share/${PN}" || die
find "${ED}" -name '*.la' -delete || die
find "${ED}" -name '*.a' -delete || die
}