aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/pcre2.go
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/pcre2.go
parent1d3d621e2fffb82fa512e485ad47298183d13880 (diff)
internal/rosa/package: migrate multiple packages
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/pcre2.go')
-rw-r--r--internal/rosa/pcre2.go42
1 files changed, 0 insertions, 42 deletions
diff --git a/internal/rosa/pcre2.go b/internal/rosa/pcre2.go
deleted file mode 100644
index c2c41ac8..00000000
--- a/internal/rosa/pcre2.go
+++ /dev/null
@@ -1,42 +0,0 @@
-package rosa
-
-import (
- "hakurei.app/internal/pkg"
-)
-
-func (t Toolchain) newPCRE2() (pkg.Artifact, string) {
- const (
- version = "10.47"
- checksum = "IbC24vVayju6nB9EhrBPSDexk22wDecdpyrjgC3nCZXkwTnUjq4CD2q5sopqu6CW"
- )
- return t.NewPackage("pcre2", version, newFromGitHubRelease(
- "PCRE2Project/pcre2",
- "pcre2-"+version,
- "pcre2-"+version+".tar.bz2",
- checksum,
- pkg.TarBzip2,
- ), &PackageAttr{
- ScriptEarly: `
-# RunGrepTest expects /bin/echo
-ln -s ../system/bin/toybox /bin/echo
-`,
- }, &MakeHelper{
- Configure: []KV{
- {"enable-jit"},
- {"enable-pcre2-8"},
- {"enable-pcre2-16"},
- {"enable-pcre2-32"},
- },
- },
- Diffutils,
- ), version
-}
-func init() {
- native.mustRegister(Toolchain.newPCRE2, &Metadata{
- Name: "pcre2",
- Description: "a set of C functions that implement regular expression pattern matching",
- Website: "https://pcre2project.github.io/pcre2/",
-
- ID: 5832,
- })
-}