sys-fs/squashfs-tools-ng - 9999 (gentoo)

Search

Install

Install this version:

emerge -a =sys-fs/squashfs-tools-ng-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-fs/squashfs-tools-ng-9999

Or alternatively:

emerge --autounmask-write -a =sys-fs/squashfs-tools-ng-9999

Package Information

Description:
A new set of tools for working with SquashFS images
Homepage:
https://github.com/AgentD/squashfs-tools-ng
License:
LGPL-3+ BSD-2 MIT tools? ( GPL-3+ )

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 0
View Raw Ebuild
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="A new set of tools for working with SquashFS images"
HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng"
if [[ ${PV} = 9999* ]]; then
	inherit autotools git-r3
	EGIT_REPO_URI="https://github.com/AgentD/${PN}.git"
else
	inherit libtool
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
	SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz"
fi

LICENSE="LGPL-3+ BSD-2 MIT tools? ( GPL-3+ )"
SLOT="0"
IUSE="lz4 +lzma lzo selinux +tools zstd"

DEPEND="
	app-arch/bzip2:=
	virtual/zlib:=
	lz4?     ( app-arch/lz4:= )
	lzma?    ( app-arch/xz-utils )
	lzo?     ( dev-libs/lzo:2 )
	selinux? ( sys-libs/libselinux:= )
	zstd?    ( app-arch/zstd:= )
"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	if [[ ${PV} = "9999" ]]; then
		eautoreconf
	else
		elibtoolize
	fi
}

src_configure() {
	local myconf=(
		--disable-static
		$(use_with lz4)
		$(use_with lzo)
		$(use_with selinux)
		$(use_with tools)
		$(use_with lzma xz)
		$(use_with zstd)
	)
	econf "${myconf[@]}"
}

src_install() {
	default
	find "${D}" -name "*.la" -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-fs/squashfs-tools-ng | euse -E <flag> -p sys-fs/squashfs-tools-ng | euse -D <flag> -p sys-fs/squashfs-tools-ng

Global/Standard Flags

lz4
lzma
Default: Enabled (+)
lzo
tools
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	app-arch/bzip2:=
	virtual/zlib:=
	lz4?     ( app-arch/lz4:= )
	lzma?    ( app-arch/xz-utils )
	lzo?     ( dev-libs/lzo:2 )
	selinux? ( sys-libs/libselinux:= )
	zstd?    ( app-arch/zstd:= )

RDEPEND

	app-arch/bzip2:=
	virtual/zlib:=
	lz4?     ( app-arch/lz4:= )
	lzma?    ( app-arch/xz-utils )
	lzo?     ( dev-libs/lzo:2 )
	selinux? ( sys-libs/libselinux:= )
	zstd?    ( app-arch/zstd:= )