From ef414ab01a28b61ef01766c3dd28ed2342f5ab75 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 20 May 2026 03:14:11 +0900 Subject: internal/rosa/package: migrate many libraries This also adds more string helpers. Signed-off-by: Ophestra --- internal/rosa/libucontext.go | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 internal/rosa/libucontext.go (limited to 'internal/rosa/libucontext.go') diff --git a/internal/rosa/libucontext.go b/internal/rosa/libucontext.go deleted file mode 100644 index d693cb12..00000000 --- a/internal/rosa/libucontext.go +++ /dev/null @@ -1,37 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newLibucontext() (pkg.Artifact, string) { - const ( - version = "1.5.1" - checksum = "mUgeyJknjMxT-5fORzz-rqhZfP3Y7EZGBhOwvhuX7MsF4Pk9wkuwtrLf5IML-jWu" - ) - return t.NewPackage("libucontext", version, newFromGitHub( - "kaniini/libucontext", - "libucontext-"+version, - checksum, - ), &PackageAttr{ - // uses source tree as scratch space - Writable: true, - Chmod: true, - EnterSource: true, - }, &MakeHelper{ - OmitDefaults: true, - SkipConfigure: true, - InPlace: true, - Make: []string{ - "ARCH=" + t.linuxArch(), - }, - Install: "make prefix=/system DESTDIR=/work install", - }), version -} -func init() { - native.mustRegister(Toolchain.newLibucontext, &Metadata{ - Name: "libucontext", - Description: "ucontext implementation featuring glibc-compatible ABI", - Website: "https://github.com/kaniini/libucontext/", - - ID: 17085, - }) -} -- cgit v1.3.1