From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lars Alex Pedersen <lapeddk@gmail.com>
Subject: Re: [ptxdist] [APPLIED] re2: new package
Date: Sun, 29 Mar 2026 07:47:09 +0200 [thread overview]
Message-ID: <20260329054709.2507551-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20260324062821.82844-1-lapeddk@gmail.com>
Thanks, applied as d9c0615f41ade04c3eda4f40e3a5693afca3e28c.
Michael
[sent from post-receive hook]
On Sun, 29 Mar 2026 07:47:09 +0200, Lars Alex Pedersen <lapeddk@gmail.com> wrote:
> Signed-off-by: Lars Alex Pedersen <lapeddk@gmail.com>
> Message-Id: <20260324062821.82844-1-lapeddk@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/re2.in b/rules/re2.in
> new file mode 100644
> index 000000000000..44e54a33bbd8
> --- /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 000000000000..c5f820a7cbd7
> --- /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
prev parent reply other threads:[~2026-03-29 5:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-24 6:28 [ptxdist] [PATCH 1/5] " 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-29 5:47 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-24 6:28 ` [ptxdist] [PATCH 3/5] python3-typing-extensions: New package Lars Alex Pedersen
2026-03-29 5:47 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-24 6:28 ` [ptxdist] [PATCH 4/5] python3-protobuf: version bump 5.26.1 -> 7.34.1 Lars Alex Pedersen
2026-03-29 5:47 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-24 6:28 ` [ptxdist] [PATCH 5/5] python3-grpcio: New package Lars Alex Pedersen
2026-03-29 5:47 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-29 5:47 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260329054709.2507551-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=lapeddk@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox