1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit multilib-minimal
9 DESCRIPTION="A helper library for REVerse ENGineered formats filters"
10 HOMEPAGE="http://sf.net/p/libwpd/librevenge"
11 if [[ ${PV} == "9999" ]] ; then
12 EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
13 inherit git-r3 autotools
16 SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
17 KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc64 x86 ~x86-fbsd"
20 LICENSE="|| ( MPL-2.0 LGPL-2.1 )"
26 sys-libs/zlib[${MULTILIB_USEDEP}]
29 doc? ( app-doc/doxygen )
30 test? ( dev-util/cppunit[${MULTILIB_USEDEP}] )
35 [[ ${PV} = 9999 ]] && eautoreconf
38 multilib_src_configure() {
43 $(use_with doc docs) \
44 $(use_enable test tests)
47 multilib_src_install_all() {
48 find "${D}" -name '*.la' -delete || die