1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils 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}] )
34 [[ ${PV} = 9999 ]] && eautoreconf
37 multilib_src_configure() {
42 $(use_with doc docs) \
43 $(use_enable test tests) \
44 --docdir="${EPREFIX}/usr/share/doc/${PF}"
47 multilib_src_install_all() {
48 prune_libtool_files --all