app-text/libmobi - 0.12 (han)

Search

Install

Install this version:

emerge -a =app-text/libmobi-0.12

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

autounmask =app-text/libmobi-0.12

Or alternatively:

emerge --autounmask-write -a =app-text/libmobi-0.12

Package Information

Description:
C library for handling Kindle (MOBI) formats of ebook documents
Homepage:
https://github.com/bfabiszewski/libmobi
License:
LGPL-3+

Ebuild Details

Version EAPI Keywords Slot
0.12 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="C library for handling Kindle (MOBI) formats of ebook documents"
HOMEPAGE="https://github.com/bfabiszewski/libmobi"
SRC_URI="https://github.com/bfabiszewski/libmobi/releases/download/v${PV}/${P}.tar.gz"

LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+libxml2 +zlib"

DEPEND="
	libxml2? ( dev-libs/libxml2 )
	zlib? ( virtual/zlib )
"
RDEPEND="${DEPEND}"

src_configure() {
	econf \
		$(use_with libxml2) \
		$(use_with zlib)
}

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

USE Flags

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

Global/Standard Flags

libxml2
Default: Enabled (+)
zlib
Default: Enabled (+)

Dependencies

DEPEND

	libxml2? ( dev-libs/libxml2 )
	zlib? ( virtual/zlib )

RDEPEND

	libxml2? ( dev-libs/libxml2 )
	zlib? ( virtual/zlib )

Manifest for 0.12

Type File Size Source URLs
DIST libmobi-0.12.tar.gz 2653654 bytes https://github.com/bfabiszewski/libmobi/releases/download/v0.12/libmobi-0.12.tar.gz