Files
gentoo-zh/dev-cpp/reproc/reproc-14.2.8.ebuild
Zakk 15158618e9 dev-cpp/reproc: add 14.2.8, drop 14.2.7
因为上游这一版的标签去掉了 v 前缀,所以 SRC_URI 改用 ${PV}。

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-29 13:57:29 +10:00

29 lines
669 B
Bash

# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake-multilib
DESCRIPTION="A cross-platform (C99/C++11) process library"
HOMEPAGE="https://github.com/DaanDeMeyer/reproc"
SRC_URI="https://github.com/DaanDeMeyer/reproc/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/14"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
RESTRICT="test"
multilib_src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
-DCMAKE_INSTALL_LIBDIR=$(get_libdir)
-DBUILD_SHARED_LIBS=ON
-DREPROC++=ON
-DREPROC_TEST=$(usex test)
)
cmake_src_configure
}