From 78b56f4f6a0a3dd02a34717228713df81442fc0a Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 1 May 2025 14:12:52 -0600 Subject: [PATCH] Add pcre2 --- recipes/libs/pcre2/recipe.toml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 recipes/libs/pcre2/recipe.toml diff --git a/recipes/libs/pcre2/recipe.toml b/recipes/libs/pcre2/recipe.toml new file mode 100644 index 000000000..176f992ce --- /dev/null +++ b/recipes/libs/pcre2/recipe.toml @@ -0,0 +1,20 @@ +[source] +tar = "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.45/pcre2-10.45.tar.bz2" +blake3 = "aea544846f9a03c1ec62c9f8d1c9a4187cc3cce557e53e6876eb6a58c7cdd9fe" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + +[build] +template = "custom" +script = """ +DYNAMIC_INIT +COOKBOOK_CONFIGURE_FLAGS=( + --host="${GNU_TARGET}" + --prefix="/usr" + --enable-shared + --enable-static +) +cookbook_configure +"""