blob: bee41986b12359377285c265c4a5c60effa85b56 (
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=(
$(usex examples -DBUILD_EXAMPLES=ON -DBUILD_EXAMPLES=OFF)
$(usex test -DBUILD_TESTS=ON -DBUILD_TESTS=OFF)
)
cmake_src_configure
}
|