diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 05:57:13 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 05:57:26 +0900 |
| commit | 656059278d96c86987c261ae842592617ee17962 (patch) | |
| tree | 469c3e195589e7f4005477bfe391707472ef4c29 /internal/rosa/zstd.go | |
| parent | 1a9974ffdc63e9deb24e4c83f4b4ce566311360f (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/zstd.go')
| -rw-r--r-- | internal/rosa/zstd.go | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/internal/rosa/zstd.go b/internal/rosa/zstd.go deleted file mode 100644 index 15de3154..00000000 --- a/internal/rosa/zstd.go +++ /dev/null @@ -1,39 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newZstd() (pkg.Artifact, string) { - const ( - version = "1.5.7" - checksum = "4XhfR7DwVkwo1R-TmYDAJOcx9YXv9WSFhcFUe3hWEAMmdMLPhFaznCqYIA19_xxV" - ) - return t.NewPackage("zstd", version, newFromGitHubRelease( - "facebook/zstd", - "v"+version, - "zstd-"+version+".tar.gz", - checksum, - pkg.TarGzip, - ), &PackageAttr{ - // tests Makefile assumes writable source - Writable: true, - Chmod: true, - }, &CMakeHelper{ - Append: []string{"build", "cmake"}, - Test: ` -make -C /usr/src/zstd/tests datagen -ZSTD_BIN=/cure/programs/zstd /usr/src/zstd/tests/playTests.sh -`, - }, - Make, - Diffutils, - ), version -} -func init() { - native.mustRegister(Toolchain.newZstd, &Metadata{ - Name: "zstd", - Description: "a fast compression algorithm", - Website: "https://facebook.github.io/zstd/", - - ID: 12083, - }) -} |
