app-arch/lzma - 19.00 (gentoo)

Search

Install

Install this version:

emerge -a =app-arch/lzma-19.00

Package Information

Description:
LZMA Stream Compressor from the SDK
Homepage:
https://www.7-zip.org/sdk.html
License:
public-domain

Ebuild Details

Version EAPI Keywords Slot
19.00 8 ~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs unpacker

MY_P="${PN}${PV//.}"
DESCRIPTION="LZMA Stream Compressor from the SDK"
HOMEPAGE="https://www.7-zip.org/sdk.html"
SRC_URI="https://downloads.sourceforge.net/sevenzip/${MY_P}.7z -> ${P}.7z"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
IUSE="doc"

BDEPEND="$(unpacker_src_uri_depends)"

S=${WORKDIR}

src_compile() {
	cd CPP/7zip/Bundles/LzmaCon || die
	emake -f makefile.gcc \
		CXX="$(tc-getCXX) ${CXXFLAGS} ${CPPFLAGS}" \
		CXX_C="$(tc-getCC) ${CFLAGS} ${CPPFLAGS}"
}

src_install() {
	newbin CPP/7zip/Bundles/LzmaCon/lzma lzmacon
	dodoc DOC/lzma.txt DOC/lzma-history.txt
	use doc && dodoc DOC/7zC.txt \
		DOC/7zFormat.txt \
		DOC/Methods.txt  \
		DOC/lzma-sdk.txt \
		DOC/lzma-specification.txt
}

pkg_postinst() {
	einfo "The lzma binary is now 'lzmacon' to avoid xz-utils conflicts #218459"
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-arch/lzma | euse -E <flag> -p app-arch/lzma | euse -D <flag> -p app-arch/lzma

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

BDEPEND

$(unpacker_src_uri_depends)

Manifest for 19.00

Type File Size Source URLs
DIST lzma-19.00.7z 1082692 bytes https://downloads.sourceforge.net/sevenzip/lzma1900.7z