1 # Copyright 2021-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
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"
14 KEYWORDS
="~amd64 ~arm64 ~x86"
18 PATCHES
=( "${FILESDIR}/${P}-fix-gcc13-build.patch" )
20 multilib_src_configure
() {
22 -DCMAKE_BUILD_TYPE=Release
23 -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
24 -DCMAKE_INSTALL_LIBDIR=$
(get_libdir
)
25 -DBUILD_SHARED_LIBS=ON
27 -DREPROC_TEST=$
(usex
test)