diff options
Diffstat (limited to 'internal/rosa/package/squashfs-tools.az')
| -rw-r--r-- | internal/rosa/package/squashfs-tools.az | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/internal/rosa/package/squashfs-tools.az b/internal/rosa/package/squashfs-tools.az new file mode 100644 index 00000000..a9d40e99 --- /dev/null +++ b/internal/rosa/package/squashfs-tools.az @@ -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, + ]; +} |
