sys-fs/squashfs-tools: Sync with Gentoo

It's from Gentoo commit 7027f9bc44f0e4603927b44ddbecd6281593666c.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-05-11 08:19:27 +00:00
parent e8bf9e3e60
commit 3d838c62e4
3 changed files with 1 additions and 59 deletions

View File

@ -1,2 +1 @@
DIST squashfs-tools-4.7.4.tar.gz 408882 BLAKE2B 2488f2d953c53bbf25d18242b4cb315ebe67f336bb07003d52622f701c9ee8409330fe16a5782737777cbbd62228181973005e66c4e56f28900769dad94df51e SHA512 16943b331723c301d7e65c14e5946d3fa27f974ba509a412ab6182a48d83a935d445feb80a27d89a5b5ba5cf86e55835f12d28c2b2b57f5623e1151cb2966376
DIST squashfs-tools-4.7.5.tar.gz 412571 BLAKE2B 69720d858e3b1b3255930cd39033f06c7824f5b94ee5da27562d4873701c5f724cf4cebdb853026b20f1d3b32be8b579404e092f4f98908373fe95da83ba631d SHA512 d24f1c8611dc7dcb17b81f3a34ee8c0d3484141c70ebe7c77c91c966e76cddc671e24d3f4a471ddc819c4708480cdd179168fe2bca8a09e97cebf0da9ef83b1c

View File

@ -1,57 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
DESCRIPTION="Tools to create and extract Squashfs filesystems"
HOMEPAGE="https://github.com/plougher/squashfs-tools/"
SRC_URI="
https://github.com/plougher/squashfs-tools/archive/${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="debug lz4 lzma lzo xattr zstd"
DEPEND="
virtual/zlib:=
lz4? ( app-arch/lz4 )
lzma? ( app-arch/xz-utils )
lzo? ( dev-libs/lzo )
xattr? ( sys-apps/attr )
zstd? ( app-arch/zstd )
"
RDEPEND=${DEPEND}
use10() {
usex "${1}" 1 0
}
src_compile() {
# set up make command line variables in EMAKE_SQUASHFS_CONF
local opts=(
LZMA_XZ_SUPPORT=$(use10 lzma)
LZO_SUPPORT=$(use10 lzo)
LZ4_SUPPORT=$(use10 lz4)
XATTR_SUPPORT=$(use10 xattr)
XZ_SUPPORT=$(use10 lzma)
ZSTD_SUPPORT=$(use10 zstd)
)
tc-export CC
use debug && append-cppflags -DSQUASHFS_TRACE
emake "${opts[@]}" -C squashfs-tools
}
src_install() {
dobin squashfs-tools/{mksquashfs,unsquashfs}
dodoc ACKNOWLEDGEMENTS CHANGES README*
doman Documentation/manpages/*.1
dosym unsquashfs /usr/bin/sqfscat
dosym mksquashfs /usr/bin/sqfstar
}

View File

@ -14,7 +14,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="debug lz4 lzma lzo xattr zstd"
DEPEND="