Install this version:
emerge -a =dev-libs/chmlib-0.40
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.40 | 7 | ~alpha amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv x86 | 0 |
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools out-of-source
DESCRIPTION="Library for MS CHM (compressed html) file format"
HOMEPAGE="http://www.jedrea.com/chmlib/"
SRC_URI="http://www.jedrea.com/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv x86"
IUSE="+examples static-libs"
PATCHES=(
"${FILESDIR}"/${PN}-0.39-stdtypes.patch
"${FILESDIR}"/${P}-headers.patch
"${FILESDIR}"/${P}-clang16.patch
)
src_prepare() {
default
# Required for CONFIG_SHELL != bash (bug #668408)
eautoreconf
}
my_src_configure() {
local myeconfargs=(
$(use_enable examples)
$(use_enable static-libs static)
)
econf "${myeconfargs[@]}"
}
my_src_install_all() {
einstalldocs
find "${ED}" -type f -name '*.la' -delete || die
}
Manage flags for this package:
euse -i <flag> -p dev-libs/chmlib |
euse -E <flag> -p dev-libs/chmlib |
euse -D <flag> -p dev-libs/chmlib
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | chmlib-0.40.tar.bz2 | 252036 bytes | http://www.jedrea.com/chmlib/chmlib-0.40.tar.bz2 |