Skip to contentSkip to conversation

package/reproc: new package

Buildroot Thomas Petazzoni via buildroot 1 participant 1 message Feb 7, 2023

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=26dd70e954a7c9142b078837ab1bbfad54d0e5cb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Required by micromamba.

---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/reproc/Config.in   | 14 ++++++++++++++
 package/reproc/reproc.hash |  3 +++
 package/reproc/reproc.mk   | 17 +++++++++++++++++
 5 files changed, 36 insertions(+)
DEVELOPERS +1 -0
index e8ddad71cd..d7c4d03c4c 100644
@@ -2790,6 +2790,7 @@ N:	TIAN Yuanhao <[email protected]>
 F:	package/cli11/
 F:	package/libsolv/
 F:	package/open-isns/
+F:	package/reproc/
 F:	package/termcolor/
 F:	package/tl-expected/
 
package/Config.in +1 -0
index 6ca4c61959..06d0a05854 100644
@@ -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"
package/reproc/Config.in new file +14 -0
new file mode 100644
index 0000000000..a4e9c893b1
@@ -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
package/reproc/reproc.hash new file +3 -0
new file mode 100644
index 0000000000..6da6d0a0bb
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  55c780f7faa5c8cabd83ebbb84b68e5e0e09732de70a129f6b3c801e905415dd  reproc-14.2.4.tar.gz
+sha256  8f91afbe266bebac2cf1b220e0e67ace4cb9a97d2b21940abef20eb6691cfa91  LICENSE
package/reproc/reproc.mk new file +17 -0
new file mode 100644
index 0000000000..3167911c4d
@@ -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))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot