dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / dev-cpp / reproc / reproc-14.2.5.ebuild
blob9434477cd8d7c686f937d10e4a184b51eadf26f3
1 # Copyright 2021-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit cmake-multilib
8 DESCRIPTION="A cross-platform (C99/C++11) process library"
9 HOMEPAGE="https://github.com/DaanDeMeyer/reproc"
10 SRC_URI="https://github.com/DaanDeMeyer/reproc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12 LICENSE="MIT"
13 SLOT="0/14"
14 KEYWORDS="~amd64 ~arm64 ~x86"
15 IUSE="test"
16 RESTRICT="test"
18 multilib_src_configure() {
19 local mycmakeargs=(
20 -DCMAKE_BUILD_TYPE=Release
21 -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
22 -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
23 -DBUILD_SHARED_LIBS=ON
24 -DREPROC++=ON
25 -DREPROC_TEST=$(usex test)
27 cmake_src_configure