diff options
Diffstat (limited to 'dev-libs/sobjectizer/sobjectizer-5.7.4.2.ebuild')
-rw-r--r-- | dev-libs/sobjectizer/sobjectizer-5.7.4.2.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/sobjectizer/sobjectizer-5.7.4.2.ebuild b/dev-libs/sobjectizer/sobjectizer-5.7.4.2.ebuild new file mode 100644 index 0000000..bee4198 --- /dev/null +++ b/dev-libs/sobjectizer/sobjectizer-5.7.4.2.ebuild @@ -0,0 +1,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 +} |