forked from rosa/hakurei
internal/rosa/package: migrate remaining trivial packages
The rest are migrated individually. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
31
internal/rosa/package/zstd.az
Normal file
31
internal/rosa/package/zstd.az
Normal file
@@ -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,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user