dev-libs/libmspack - 1.12 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/libmspack-1.12

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

autounmask =dev-libs/libmspack-1.12

Or alternatively:

emerge --autounmask-write -a =dev-libs/libmspack-1.12

Package Information

Description:
Library for Microsoft compression formats
Homepage:
https://www.cabextract.org.uk/libmspack/
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.12 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Library for Microsoft compression formats"
HOMEPAGE="https://www.cabextract.org.uk/libmspack/"

if [[ ${PV} == *9999 ]] ; then
	EGIT_REPO_URI="https://github.com/kyz/libmspack.git"
	inherit git-r3
else
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
	SRC_URI="https://github.com/kyz/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi

S="${WORKDIR}/${P}/${PN}"

LICENSE="LGPL-2.1"
SLOT="0"
IUSE="debug doc"

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf $(use_enable debug)
}

src_install() {
	use doc && HTML_DOCS=( doc/. )

	default

	if use doc ; then
		rm "${ED}"/usr/share/doc/"${PF}"/html/{Makefile*,Doxyfile*} || die
	fi

	find "${ED}" -name '*.la' -delete || die
	find "${ED}" -name "*.a" -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/libmspack | euse -E <flag> -p dev-libs/libmspack | euse -D <flag> -p dev-libs/libmspack

Global/Standard Flags

doc

Inherited Eclasses

Manifest for 1.12

Type File Size Source URLs
DIST libmspack-1.12.tar.gz 417826 bytes https://github.com/kyz/libmspack/archive/refs/tags/v1.12.tar.gz