aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/zlib.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 05:57:13 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 05:57:26 +0900
commit656059278d96c86987c261ae842592617ee17962 (patch)
tree469c3e195589e7f4005477bfe391707472ef4c29 /internal/rosa/zlib.go
parent1a9974ffdc63e9deb24e4c83f4b4ce566311360f (diff)
internal/rosa/package: migrate remaining trivial packages
The rest are migrated individually. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/zlib.go')
-rw-r--r--internal/rosa/zlib.go38
1 files changed, 0 insertions, 38 deletions
diff --git a/internal/rosa/zlib.go b/internal/rosa/zlib.go
deleted file mode 100644
index 7af8efbb..00000000
--- a/internal/rosa/zlib.go
+++ /dev/null
@@ -1,38 +0,0 @@
-package rosa
-
-import "hakurei.app/internal/pkg"
-
-func (t Toolchain) newZlib() (pkg.Artifact, string) {
- const (
- version = "1.3.2"
- checksum = "KHZrePe42vL2XvOUE3KlJkp1UgWhWkl0jjT_BOvFhuM4GzieEH9S7CioepOFVGYB"
- )
- return t.NewPackage("zlib", version, newTar(
- "https://www.zlib.net/fossils/zlib-"+version+".tar.gz",
- checksum,
- pkg.TarGzip,
- ), nil, &CMakeHelper{
- Cache: []KV{
- {"CMAKE_C_FLAGS", "-fPIC"},
- {"ZLIB_BUILD_TESTING", "ON"},
- {"ZLIB_BUILD_SHARED", "ON"},
- {"ZLIB_BUILD_STATIC", "ON"},
- {"ZLIB_BUILD_MINIZIP", "OFF"},
-
- {"ZLIB_INSTALL", "ON"},
- {"ZLIB_PREFIX", "OFF"},
- },
-
- // ninja dependency loop
- Make: true,
- }), version
-}
-func init() {
- native.mustRegister(Toolchain.newZlib, &Metadata{
- Name: "zlib",
- Description: "lossless data-compression library",
- Website: "https://zlib.net/",
-
- ID: 5303,
- })
-}