Skip to content

Commit

Permalink
app-text/libwps: Add USE=tools, drop eutils.eclass, update HOMEPAGE
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 2a35db6 commit afd0bf9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 5 additions & 6 deletions app-text/libwps/libwps-0.4.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
3 changes: 3 additions & 0 deletions app-text/libwps/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,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">libwps</remote-id>
</upstream>
Expand Down

0 comments on commit afd0bf9

Please sign in to comment.