aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/squashfs-tools.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/squashfs-tools.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/squashfs-tools.az')
-rw-r--r--internal/rosa/package/squashfs-tools.az51
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,
+ ];
+}