summaryrefslogtreecommitdiff
blob: 6790ea5231fa38fd35e66d8bdc59a8ce5a024f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit flag-o-matic libtool

DESCRIPTION="PMIx Reference RunTime Environment"
HOMEPAGE="https://openpmix.github.io/"
SRC_URI="https://github.com/openpmix/prrte/releases/download/v${PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0/$(ver_cut 1)"
KEYWORDS="~amd64 ~arm64 ~ppc64"

DEPEND="
	dev-libs/libevent:=
	sys-apps/hwloc:=
	>=sys-cluster/pmix-4.2.4
"
RDEPEND="${DEPEND}"

# There is no testsuite at least today.
RESTRICT="test"

src_prepare() {
	default
	elibtoolize
}

src_configure() {
	# -Werror=lto-type-mismatch
	#
	# Same issue as its companion project sys-cluster/pmix, and logically
	# solvable in tandem (or never).
	# https://github.com/openpmix/openpmix/issues/3350
	filter-lto

	econf
}

src_install() {
	default
	find "${ED}" -type f -name '*.la' -delete || die
}