aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/pcre2.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 05:01:06 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 05:01:06 +0900
commit1a2699b4867b7a736eedd973d69659ef468a994a (patch)
tree81c6868c424a59d9c4203f9799c836455b74ec79 /internal/rosa/package/pcre2.az
parent1d3d621e2fffb82fa512e485ad47298183d13880 (diff)
internal/rosa/package: migrate multiple packages
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/pcre2.az')
-rw-r--r--internal/rosa/package/pcre2.az30
1 files changed, 30 insertions, 0 deletions
diff --git a/internal/rosa/package/pcre2.az b/internal/rosa/package/pcre2.az
new file mode 100644
index 00000000..c7fc505c
--- /dev/null
+++ b/internal/rosa/package/pcre2.az
@@ -0,0 +1,30 @@
+package pcre2 {
+ description = "a set of C functions that implement regular expression pattern matching";
+ website = "https://pcre2project.github.io/pcre2";
+ anitya = 5832;
+
+ version* = "10.47";
+ source = remoteGitHubRelease {
+ suffix = "PCRE2Project/pcre2";
+ tag = "pcre2-"+version;
+ name = "pcre2-"+version+".tar.bz2";
+ checksum = "IbC24vVayju6nB9EhrBPSDexk22wDecdpyrjgC3nCZXkwTnUjq4CD2q5sopqu6CW";
+ compress = bzip2;
+ };
+
+ early = `
+# RunGrepTest expects /bin/echo
+ln -s ../system/bin/toybox /bin/echo
+`;
+
+ exec = make {
+ configure = {
+ "enable-jit";
+ "enable-pcre2-8";
+ "enable-pcre2-16";
+ "enable-pcre2-32";
+ };
+ };
+
+ inputs = [ diffutils ];
+}