From d305208ca7a258fb77809f63c895764345c61919 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 27 Jul 2022 09:01:23 +0100 Subject: gentoo auto-resync : 27:07:2022 - 09:01:23 --- sys-fs/Manifest.gz | Bin 21893 -> 21895 bytes sys-fs/squashfs-tools/Manifest | 1 + .../squashfs-tools/squashfs-tools-4.5.1-r1.ebuild | 57 +++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 sys-fs/squashfs-tools/squashfs-tools-4.5.1-r1.ebuild (limited to 'sys-fs') diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz index 95517ce5cf3a..db9260870fc0 100644 Binary files a/sys-fs/Manifest.gz and b/sys-fs/Manifest.gz differ diff --git a/sys-fs/squashfs-tools/Manifest b/sys-fs/squashfs-tools/Manifest index 97af031ef1b9..27990a921dd7 100644 --- a/sys-fs/squashfs-tools/Manifest +++ b/sys-fs/squashfs-tools/Manifest @@ -1,3 +1,4 @@ DIST squashfs-tools-4.5.1.tar.gz 270112 BLAKE2B cbd35daf582d284b021911bb754ed548763f2773e1bc02516ca18bab7034e352780c11eb7dfed1f047b70974dcfb716bb1a1d3729e5b25662203cfbf93553b73 SHA512 b3934ea1e26c7508110312711465644a6d9674b6b5332a7d011e191fa3c1d4b8be694214794a0f6005263d0f4e18bab96af2f7ed66a178f8e3bb3a781cd44896 +EBUILD squashfs-tools-4.5.1-r1.ebuild 1361 BLAKE2B 35c11a8668a5d550440b31c23e92f102891458387aeab14b72d1cf23924c35306fd4cded8185bf150050ccab91f700da8adee7a7f4d4384e449fc2780b11b0ab SHA512 d5149c3a60e7275d5e226f4383bf0d974793ab1a159e235f9d9b8bb9f16a662b02d5405f8aca51dcca04b98dda4987d29a4071469358ac6771b7b7cae5b414d7 EBUILD squashfs-tools-4.5.1.ebuild 1263 BLAKE2B 5eff6295550f8f004c894083bca9862d4e0d83234422a7fed136fa5a2d2add410fa73659da966f7f41500b87cdd43dda7901e799ef0f16347d33411e6a870c44 SHA512 ae4b46dede58eb800d376b68bcac80e702767e8e15a02325a515b190924d3c22628fee1883642e6b0e4dfbbc1feb63c376404b3ada43e1818af1db83392cda67 MISC metadata.xml 326 BLAKE2B b34f627cbc911d0e31c84e29ab196767d6618ae95909466efe663abdc54f76325b24e1d6a95ff5e7fa9d33f19b848dec1bfa95dc1b5f0b260839cf7337ce2c0f SHA512 354a34decfc9aa79c434275283e805423f2bcbbcb788e09236cd7b4e67a7bfbbc413e3874a45fe618f0e601036372e94c5965665483566cb651edea0728d5117 diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.5.1-r1.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.5.1-r1.ebuild new file mode 100644 index 000000000000..ad3c805c18a3 --- /dev/null +++ b/sys-fs/squashfs-tools/squashfs-tools-4.5.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 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 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="debug lz4 lzma lzo xattr zstd" + +RDEPEND=" + sys-libs/zlib + lz4? ( app-arch/lz4 ) + lzma? ( app-arch/xz-utils ) + lzo? ( dev-libs/lzo ) + xattr? ( sys-apps/attr ) + zstd? ( app-arch/zstd ) +" +DEPEND=${RDEPEND} + +use10() { usex "${1}" 1 0; } + +src_configure() { + # set up make command line variables in EMAKE_SQUASHFS_CONF + EMAKE_SQUASHFS_CONF=( + 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 +} + +src_compile() { + emake "${EMAKE_SQUASHFS_CONF[@]}" -C squashfs-tools +} + +src_install() { + dobin squashfs-tools/{mksquashfs,unsquashfs} + dodoc ACKNOWLEDGEMENTS CHANGES README* + dodoc -r RELEASE-READMEs + doman manpages/*.1 + + dosym unsquashfs /usr/bin/sqfscat + dosym mksquashfs /usr/bin/sqfstar +} -- cgit v1.2.3