commit: afd0bf9dce366a32d2721ef5b29b766d6ae3d10f Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Sat Nov 26 00:24:21 2016 +0000 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sat Dec 17 15:55:55 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd0bf9d
app-text/libwps: Add USE=tools, drop eutils.eclass, update HOMEPAGE Package-Manager: portage-2.3.0 app-text/libwps/libwps-0.4.4-r1.ebuild | 11 +++++------ app-text/libwps/metadata.xml | 3 +++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app-text/libwps/libwps-0.4.4-r1.ebuild b/app-text/libwps/libwps-0.4.4-r1.ebuild index 6f1a54b..b12d855 100644 --- a/app-text/libwps/libwps-0.4.4-r1.ebuild +++ b/app-text/libwps/libwps-0.4.4-r1.ebuild @@ -4,16 +4,14 @@ EAPI=6 -inherit eutils - DESCRIPTION="Microsoft Works file word processor format import filter library" -HOMEPAGE="http://libwps.sourceforge.net/" +HOMEPAGE="https://sourceforge.net/p/libwps/wiki/Home/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" LICENSE="|| ( LGPL-2.1 MPL-2.0 )" SLOT="0" KEYWORDS="~alpha amd64 ~arm x86" -IUSE="doc debug static-libs" +IUSE="doc debug static-libs tools" RDEPEND=" app-text/libwpd:0.10 @@ -30,10 +28,11 @@ src_configure() { --with-sharedptr=c++11 \ $(use_enable debug) \ $(use_with doc docs) \ - $(use_enable static-libs static) + $(use_enable static-libs static) \ + $(use_enable tools) } src_install() { default - prune_libtool_files --all + find "${D}" -name '*.la' -delete || die } diff --git a/app-text/libwps/metadata.xml b/app-text/libwps/metadata.xml index 75ecdaf..e942043 100644 --- a/app-text/libwps/metadata.xml +++ b/app-text/libwps/metadata.xml @@ -9,6 +9,9 @@ <email>off...@gentoo.org</email> <name>Gentoo Office project</name> </maintainer> + <use> + <flag name="tools">Build file conversion tools</flag> + </use> <upstream> <remote-id type="sourceforge">libwps</remote-id> </upstream>