aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/zstd.az
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/package/zstd.az
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/package/zstd.az')
-rw-r--r--internal/rosa/package/zstd.az31
1 files changed, 31 insertions, 0 deletions
diff --git a/internal/rosa/package/zstd.az b/internal/rosa/package/zstd.az
new file mode 100644
index 00000000..7f965d72
--- /dev/null
+++ b/internal/rosa/package/zstd.az
@@ -0,0 +1,31 @@
+package zstd {
+ description = "a fast compression algorithm";
+ website = "https://facebook.github.io/zstd";
+ anitya = 12083;
+
+ version* = "1.5.7";
+ source = remoteGitHubRelease {
+ suffix = "facebook/zstd";
+ tag = "v"+version;
+ name = "zstd-"+version+".tar.gz";
+ checksum = "4XhfR7DwVkwo1R-TmYDAJOcx9YXv9WSFhcFUe3hWEAMmdMLPhFaznCqYIA19_xxV";
+ compress = gzip;
+ };
+
+ // tests Makefile assumes writable source
+ writable = true;
+ chmod = true;
+
+ exec = cmake {
+ append = [ "build", "cmake" ];
+ test = `
+make -C /usr/src/zstd/tests datagen
+ZSTD_BIN=/cure/programs/zstd /usr/src/zstd/tests/playTests.sh
+`;
+ };
+
+ inputs = [
+ make,
+ diffutils,
+ ];
+}