1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit multilib-minimal
8 DESCRIPTION="A helper library for REVerse ENGineered formats filters"
9 HOMEPAGE="http://sf.net/p/libwpd/librevenge"
10 if [[ ${PV} == *9999 ]] ; then
11 EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
12 inherit git-r3 autotools
14 SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
15 KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 x86 ~x86-fbsd"
18 LICENSE="|| ( MPL-2.0 LGPL-2.1 )"
23 sys-libs/zlib[${MULTILIB_USEDEP}]
27 doc? ( app-doc/doxygen )
28 test? ( dev-util/cppunit[${MULTILIB_USEDEP}] )
33 [[ ${PV} = *9999 ]] && eautoreconf
36 multilib_src_configure() {
41 $(use_with doc docs) \
42 $(use_enable test tests)
45 multilib_src_install_all() {
47 find "${D}" -name '*.la' -delete || die