1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit alternatives eutils
9 DESCRIPTION="WordPerfect Document import/export library"
10 HOMEPAGE="http://libwpd.sf.net"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
13 LICENSE="|| ( LGPL-2.1 MPL-2.0 )"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~x86 ~x86-fbsd"
18 COMMON_DEPEND="dev-libs/librevenge"
19 DEPEND="${COMMON_DEPEND}
21 doc? ( app-doc/doxygen )
23 RDEPEND="${COMMON_DEPEND}
24 !<app-text/libwpd-0.8.14-r1"
30 $(use_with doc docs) \
32 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
33 --program-suffix=-${SLOT}
38 prune_libtool_files --all
43 alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9][0-9]"
44 alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9][0-9]"
45 alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9][0-9]"
51 alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9][0-9]"
52 alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9][0-9]"
53 alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9][0-9]"