aboutsummaryrefslogtreecommitdiff
path: root/dev-libs/sobjectizer/sobjectizer-5.7.4.2.ebuild
blob: 9caf3c046800c28b86c6ce3a2664d187ede038c0 (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
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="An implementation of Actor, Publish-Subscribe, and CSP"
HOMEPAGE="https://github.com/Stiffstream/sobjectizer"
SRC_URI="https://github.com/Stiffstream/${PN}/archive/v.${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-v.${PV}"
CMAKE_USE_DIR="${S}/dev"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples test"
RESTRICT="!test? ( test )"

PATCHES=(
	"${FILESDIR}/cmake-5.7.4.3.patch"
)

src_configure() {
	local mycmakeargs=(
		"-DBUILD_EXAMPLES=$(usex examples ON OFF)"
		"-DBUILD_TESTS=$(usex test ON OFF)"
	)
	cmake_src_configure
}