Package-Manager: portage-2.3.0
MY_PN="libe-book"
MY_P="${MY_PN}-${PV}"
-inherit eutils autotools
+inherit autotools
DESCRIPTION="Library parsing various ebook formats"
HOMEPAGE="http://www.sourceforge.net/projects/libebook/"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
-IUSE="doc test"
+IUSE="doc test tools"
RDEPEND="
dev-libs/icu:=
sys-libs/zlib
"
DEPEND="${RDEPEND}
- dev-libs/boost:=
+ dev-libs/boost
dev-util/gperf
virtual/pkgconfig
doc? ( app-doc/doxygen )
--disable-werror \
$(use_with doc docs) \
$(use_enable test tests) \
- --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ $(use_with tools)
}
src_install() {
default
- prune_libtool_files --all
+ find "${D}" -name '*.la' -delete || die
}
<email>office@gentoo.org</email>
<name>Gentoo Office project</name>
</maintainer>
+ <use>
+ <flag name="tools">Build file conversion tools</flag>
+ </use>
<upstream>
<remote-id type="sourceforge">libebook</remote-id>
</upstream>