squashfs-tools git ver.
This commit is contained in:
@@ -16,9 +16,12 @@ def build():
|
||||
cmd1='sed -i -e "s/BUFFER_DEFAULT [0-9]*/BUFFER_DEFAULT 32/" unsquashfs.h'
|
||||
cmd2="sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile"
|
||||
cmd3="sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile"
|
||||
cmd4="sed -i 's|^#ZSTD_SUPPORT = 1|ZSTD_SUPPORT = 1|' Makefile"
|
||||
cmd5="sed -i 's|^COMP_DEFAULT = gzip|COMP_DEFAULT = xz|' Makefile"
|
||||
cmds=[cmd1,cmd2,cmd3,cmd4,cmd5]
|
||||
cmd4="sed -i 's|^#LZ4_SUPPORT = 1|LZ4_SUPPORT = 1|' Makefile"
|
||||
cmd5="sed -i 's|^#XATTR_SUPPORT = 1|XATTR_SUPPORT = 1|' Makefile"
|
||||
cmd6="sed -i 's|^#ZSTD_SUPPORT = 1|ZSTD_SUPPORT = 1|' Makefile"
|
||||
cmd7="sed -i 's|^#LZMA_XZ_SUPPORT = 1|LZMA_XZ_SUPPORT = 1|' Makefile"
|
||||
cmd8="sed -i 's|^COMP_DEFAULT = gzip|COMP_DEFAULT = xz|' Makefile"
|
||||
cmds=[cmd1,cmd2,cmd3,cmd4,cmd5,cmd6,cmd7,cmd8]
|
||||
|
||||
for cmd in cmds:
|
||||
shelltools.system(cmd)
|
||||
|
||||
@@ -12,16 +12,17 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Userspace tools to create squashfs compressed filesystem</Summary>
|
||||
<Description>Squashfs is a highly compressed read-only filesystem for Linux. This package contains the utilities for manipulating squashfs filesystems.</Description>
|
||||
<Archive sha1sum="a42fdedb8a1543274592e317c437cafa54e02705" type="targz">https://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.4/squashfs4.4.tar.gz</Archive>
|
||||
<Archive sha1sum="ccdbdb36be907de767019f2f35e985c6fad1bc2c" type="targz">https://github.com/plougher/squashfs-tools/archive/refs/tags/4.4-git.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>lzo-devel</Dependency>
|
||||
<Dependency>lz4-devel</Dependency>
|
||||
<Dependency>zstd-devel</Dependency>
|
||||
<!--xz-devel is in system.devel-->
|
||||
<Dependency>xz-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">0001-squashfs-tools-fix-build-failure-against-gcc-10.patch</Patch>
|
||||
<!-- <Patch level="1">0001-squashfs-tools-fix-build-failure-against-gcc-10.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -29,6 +30,7 @@
|
||||
<Name>squashfs-tools</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>lzo</Dependency>
|
||||
<Dependency>lz4</Dependency>
|
||||
<Dependency>zstd</Dependency>
|
||||
<!--xz is in system.base-->
|
||||
<Dependency>zlib</Dependency>
|
||||
@@ -41,7 +43,14 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Update release="7">
|
||||
<Date>2021-04-11</Date>
|
||||
<Version>4.4</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2020-12-26</Date>
|
||||
<Version>4.4</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
|
||||
Reference in New Issue
Block a user