summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-30 11:02:28 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-30 11:02:28 +0000
commita6a52cbdcb98e50befa49e67e76007dc1076629b (patch)
treeff2e59b5d71253434a5ed71b3b1519ae6cb7c8dc
parentVersion Bump (diff)
downloadgentoo-2-a6a52cbdcb98e50befa49e67e76007dc1076629b.tar.gz
gentoo-2-a6a52cbdcb98e50befa49e67e76007dc1076629b.tar.bz2
gentoo-2-a6a52cbdcb98e50befa49e67e76007dc1076629b.zip
Initial commit to fix bug #284159.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
-rw-r--r--app-text/libwps/ChangeLog10
-rw-r--r--app-text/libwps/libwps-0.2.0.ebuild39
-rw-r--r--app-text/libwps/metadata.xml6
3 files changed, 55 insertions, 0 deletions
diff --git a/app-text/libwps/ChangeLog b/app-text/libwps/ChangeLog
new file mode 100644
index 000000000000..da0f8f02e065
--- /dev/null
+++ b/app-text/libwps/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/libwps
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/libwps/ChangeLog,v 1.1 2011/04/30 11:02:28 scarabeus Exp $
+
+*libwps-0.2.0 (30 Apr 2011)
+
+ 30 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> +libwps-0.2.0.ebuild,
+ +metadata.xml:
+ Initial commit to fix bug #284159.
+
diff --git a/app-text/libwps/libwps-0.2.0.ebuild b/app-text/libwps/libwps-0.2.0.ebuild
new file mode 100644
index 000000000000..2e213ff6b2f8
--- /dev/null
+++ b/app-text/libwps/libwps-0.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/libwps/libwps-0.2.0.ebuild,v 1.1 2011/04/30 11:02:28 scarabeus Exp $
+
+EAPI=4
+
+inherit autotools
+
+DESCRIPTION="Microsoft Works file word processor format import filter library"
+HOMEPAGE="http://libwps.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc debug"
+
+RDEPEND="app-text/libwpd:0.9"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen[-nodot] )
+"
+
+src_prepare() {
+ sed -i -e 's: -Wall -Werror -pedantic::' configure.in || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ $(use_with doc docs) \
+ $(use_enable debug)
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete
+}
diff --git a/app-text/libwps/metadata.xml b/app-text/libwps/metadata.xml
new file mode 100644
index 000000000000..18dceee9f580
--- /dev/null
+++ b/app-text/libwps/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <herd>kde</herd>
+</pkgmetadata>