Skip to content

Commit

Permalink
app-text/libebook: Add USE=tools, drop eutils.eclass
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
a17r authored and akhuettel committed Dec 17, 2016
1 parent cd158c4 commit 51b920b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app-text/libebook/libebook-0.1.2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ EAPI=6
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/"
Expand All @@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE="doc test"
IUSE="doc test tools"

RDEPEND="
dev-libs/icu:=
Expand All @@ -25,7 +25,7 @@ RDEPEND="
sys-libs/zlib
"
DEPEND="${RDEPEND}
dev-libs/boost:=
dev-libs/boost
dev-util/gperf
virtual/pkgconfig
doc? ( app-doc/doxygen )
Expand All @@ -48,10 +48,10 @@ src_configure() {
--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
}
3 changes: 3 additions & 0 deletions app-text/libebook/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<email>[email protected]</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>
Expand Down

0 comments on commit 51b920b

Please sign in to comment.