package/reproc: new package

Required by micromamba.

Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
TIAN Yuanhao 2022-11-28 12:34:17 +00:00 committed by Thomas Petazzoni
parent 93ce3c1be0
commit 26dd70e954
5 changed files with 36 additions and 0 deletions

View File

@ -2790,6 +2790,7 @@ N: TIAN Yuanhao <tianyuanhao3@163.com>
F: package/cli11/
F: package/libsolv/
F: package/open-isns/
F: package/reproc/
F: package/termcolor/
F: package/tl-expected/

View File

@ -2126,6 +2126,7 @@ endif
source "package/protozero/Config.in"
source "package/qhull/Config.in"
source "package/qlibc/Config.in"
source "package/reproc/Config.in"
source "package/riemann-c-client/Config.in"
source "package/shapelib/Config.in"
source "package/skalibs/Config.in"

14
package/reproc/Config.in Normal file
View File

@ -0,0 +1,14 @@
config BR2_PACKAGE_REPROC
bool "reproc"
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR # uses wchar_t
depends on BR2_TOOLCHAIN_HAS_THREADS # pthread
help
reproc is a cross-platform C/C++ library that simplifies
starting, stopping and communicating with external programs.
https://github.com/DaanDeMeyer/reproc
comment "reproc needs a toolchain w/ threads, wchar"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 55c780f7faa5c8cabd83ebbb84b68e5e0e09732de70a129f6b3c801e905415dd reproc-14.2.4.tar.gz
sha256 8f91afbe266bebac2cf1b220e0e67ace4cb9a97d2b21940abef20eb6691cfa91 LICENSE

17
package/reproc/reproc.mk Normal file
View File

@ -0,0 +1,17 @@
################################################################################
#
# reproc
#
################################################################################
REPROC_VERSION = 14.2.4
REPROC_SITE = $(call github,DaanDeMeyer,reproc,v$(REPROC_VERSION))
REPROC_LICENSE = MIT
REPROC_LICENSE_FILES = LICENSE
REPROC_INSTALL_STAGING = YES
ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),yy) # C++11
REPROC_CONF_OPTS += -DREPROC++=ON
endif
$(eval $(cmake-package))