summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/wpd2odt/wpd2odt-0.8.1.ebuild')
-rw-r--r--app-text/wpd2odt/wpd2odt-0.8.1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-text/wpd2odt/wpd2odt-0.8.1.ebuild b/app-text/wpd2odt/wpd2odt-0.8.1.ebuild
new file mode 100644
index 000000000000..84c517c687eb
--- /dev/null
+++ b/app-text/wpd2odt/wpd2odt-0.8.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/wpd2odt/wpd2odt-0.8.1.ebuild,v 1.1 2011/09/28 18:02:52 scarabeus Exp $
+
+EAPI=4
+
+DESCRIPTION="WordPerfect Document (wpd/wpg) to Open document (odt/odg) converter"
+HOMEPAGE="http://libwpd.sf.net"
+SRC_URI="mirror://sourceforge/libwpd/writerperfect-${PV}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="debug gsf +visio +wpg +wps"
+
+RDEPEND="
+ app-text/libwpd:0.9
+ wpg? ( app-text/libwpg:0.2 )
+ wps? ( app-text/libwps )
+ visio? ( media-libs/libvisio )
+ gsf? ( gnome-extra/libgsf )
+"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+"
+
+S=${WORKDIR}/writerperfect-${PV}
+
+src_configure() {
+ econf \
+ --disable-werror \
+ $(use_enable debug) \
+ $(use_with gsf libgsf) \
+ $(use_with wpg libwpg) \
+ $(use_with wps libwps) \
+ $(use_with visio libvisio)
+}