mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/5] re2: new package
@ 2026-03-24  6:28 Lars Alex Pedersen
  2026-03-24  6:28 ` [ptxdist] [PATCH 2/5] abseil-cpp: Add option to build as shared library Lars Alex Pedersen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Lars Alex Pedersen @ 2026-03-24  6:28 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Alex Pedersen

Signed-off-by: Lars Alex Pedersen <lapeddk@gmail.com>
---
 rules/re2.in   | 11 ++++++++++
 rules/re2.make | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)
 create mode 100644 rules/re2.in
 create mode 100644 rules/re2.make

diff --git a/rules/re2.in b/rules/re2.in
new file mode 100644
index 000000000..44e54a33b
--- /dev/null
+++ b/rules/re2.in
@@ -0,0 +1,11 @@
+## SECTION=system_libraries
+
+config RE2
+	tristate
+	select HOST_CMAKE
+	select ABSEIL_CPP
+	prompt "re2"
+	help
+	  RE2 is an efficient, principled regular expression library.
+
+# vim: ft=kconfig tw=80
diff --git a/rules/re2.make b/rules/re2.make
new file mode 100644
index 000000000..c5f820a7c
--- /dev/null
+++ b/rules/re2.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2026 by Lars Pedersen <lapeddk@gmail.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_RE2) += re2
+
+#
+# Paths and names
+#
+RE2_VERSION		:= 2025-11-05
+RE2_MD5			:= 2a26009d8c226fd0a8721fbce7132a83
+RE2			:= re2-$(RE2_VERSION)
+RE2_SUFFIX		:= tar.gz
+RE2_URL			:= https://github.com/google/re2/archive/$(RE2_VERSION).$(RE2_SUFFIX)
+RE2_SOURCE		:= $(SRCDIR)/$(RE2).$(RE2_SUFFIX)
+RE2_DIR			:= $(BUILDDIR)/$(RE2)
+RE2_LICENSE		:= BSD-3-Clause
+RE2_LICENSE_FILES	:= \
+	file://LICENSE;md5=3b5c31eb512bdf3cb11ffd5713963760
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# cmake
+#
+RE2_CONF_TOOL	:= cmake
+RE2_CONF_OPT	:=  \
+	$(CROSS_CMAKE_USR) \
+	-DBUILD_SHARED_LIBS=ON
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/re2.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, re2)
+	@$(call install_fixup, re2, PRIORITY, optional)
+	@$(call install_fixup, re2, SECTION, base)
+	@$(call install_fixup, re2, AUTHOR, "Lars Pedersen <lapeddk@gmail.com>")
+	@$(call install_fixup, re2, DESCRIPTION, missing)
+
+	@$(call install_lib, re2, 0, 0, 0644, libre2)
+
+	@$(call install_finish, re2)
+
+	@$(call touch)
+
+# vim: ft=make

base-commit: eedd3da887e42dcc0e6ffb95a348107e2a5bcf4f
-- 
2.53.0




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-24  6:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-24  6:28 [ptxdist] [PATCH 1/5] re2: new package Lars Alex Pedersen
2026-03-24  6:28 ` [ptxdist] [PATCH 2/5] abseil-cpp: Add option to build as shared library Lars Alex Pedersen
2026-03-24  6:28 ` [ptxdist] [PATCH 3/5] python3-typing-extensions: New package Lars Alex Pedersen
2026-03-24  6:28 ` [ptxdist] [PATCH 4/5] python3-protobuf: version bump 5.26.1 -> 7.34.1 Lars Alex Pedersen
2026-03-24  6:28 ` [ptxdist] [PATCH 5/5] python3-grpcio: New package Lars Alex Pedersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox