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:
51
internal/rosa/package/squashfs-tools.az
Normal file
51
internal/rosa/package/squashfs-tools.az
Normal file
@@ -0,0 +1,51 @@
|
||||
package squashfs-tools {
|
||||
description = "tools to create and extract Squashfs filesystems";
|
||||
website = "https://github.com/plougher/squashfs-tools";
|
||||
anitya = 4879;
|
||||
|
||||
version* = "4.7.5";
|
||||
source = remoteGitHubRelease {
|
||||
suffix = "plougher/squashfs-tools";
|
||||
tag = version;
|
||||
name = "squashfs-tools-"+version+".tar.gz";
|
||||
checksum = "rF52wLQP-jeAmcD-48wqJcck8ZWRFwkax3T-7snaRf5EBnCQQh0YypMY9lwcivLz";
|
||||
compress = gzip;
|
||||
};
|
||||
|
||||
// uses source tree as scratch space
|
||||
writable = true;
|
||||
chmod = true;
|
||||
|
||||
env = [
|
||||
"CONFIG=1",
|
||||
"XZ_SUPPORT=0",
|
||||
"LZO_SUPPORT=0",
|
||||
"LZ4_SUPPORT=0",
|
||||
"COMP_DEFAULT=zstd",
|
||||
"USE_PREBUILT_MANPAGES=y",
|
||||
];
|
||||
|
||||
early = "cd squashfs-tools";
|
||||
|
||||
exec = make {
|
||||
skipConfigure = true;
|
||||
inPlace = true;
|
||||
|
||||
skipCheck = true;
|
||||
install = "make INSTALL_PREFIX=/work/system install";
|
||||
};
|
||||
|
||||
inputs = [
|
||||
sed,
|
||||
|
||||
zstd,
|
||||
gzip,
|
||||
zlib,
|
||||
];
|
||||
|
||||
runtime = [
|
||||
zstd,
|
||||
gzip,
|
||||
zlib,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user