diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-11-26 01:43:28 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-12-17 16:56:05 +0100 |
commit | 51b920be2ee2c571b09354acb5d30d2369092390 (patch) | |
tree | 91489dcb04bc70010214030d421e5d37fb08168b /app-text/libebook | |
parent | app-text/libetonyek: Drop eutils.eclass (diff) | |
download | gentoo-51b920be2ee2c571b09354acb5d30d2369092390.tar.gz gentoo-51b920be2ee2c571b09354acb5d30d2369092390.tar.bz2 gentoo-51b920be2ee2c571b09354acb5d30d2369092390.zip |
app-text/libebook: Add USE=tools, drop eutils.eclass
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/libebook')
-rw-r--r-- | app-text/libebook/libebook-0.1.2-r1.ebuild | 10 | ||||
-rw-r--r-- | app-text/libebook/metadata.xml | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/app-text/libebook/libebook-0.1.2-r1.ebuild b/app-text/libebook/libebook-0.1.2-r1.ebuild index ac516acf21ce..53db1d633613 100644 --- a/app-text/libebook/libebook-0.1.2-r1.ebuild +++ b/app-text/libebook/libebook-0.1.2-r1.ebuild @@ -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/" @@ -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:= @@ -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 ) @@ -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 } diff --git a/app-text/libebook/metadata.xml b/app-text/libebook/metadata.xml index e8bd2e4c318f..70dbb606d4c5 100644 --- a/app-text/libebook/metadata.xml +++ b/app-text/libebook/metadata.xml @@ -5,6 +5,9 @@ <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> |