summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-06-07 11:41:17 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-06-07 11:41:17 +0000
commitb2a5561aac5d0de2c6ec3d714f97a8a70b03ee5b (patch)
tree36e8e14da2969df83e2ac0a0c4fb16a77ba21baf /app-text/libmspub
parentNew snapshot. (diff)
downloadgentoo-2-b2a5561aac5d0de2c6ec3d714f97a8a70b03ee5b.tar.gz
gentoo-2-b2a5561aac5d0de2c6ec3d714f97a8a70b03ee5b.tar.bz2
gentoo-2-b2a5561aac5d0de2c6ec3d714f97a8a70b03ee5b.zip
Initial commit, live ebuild for now. Required by trunk libreoffice. Fixes bug#419967.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'app-text/libmspub')
-rw-r--r--app-text/libmspub/ChangeLog11
-rw-r--r--app-text/libmspub/libmspub-9999.ebuild48
-rw-r--r--app-text/libmspub/metadata.xml5
3 files changed, 64 insertions, 0 deletions
diff --git a/app-text/libmspub/ChangeLog b/app-text/libmspub/ChangeLog
new file mode 100644
index 000000000000..3128e4655158
--- /dev/null
+++ b/app-text/libmspub/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-text/libmspub
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/libmspub/ChangeLog,v 1.1 2012/06/07 11:41:17 scarabeus Exp $
+
+*libmspub-9999 (07 Jun 2012)
+
+ 07 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> +libmspub-9999.ebuild,
+ +metadata.xml:
+ Initial commit, live ebuild for now. Required by trunk libreoffice. Fixes
+ bug#419967.
+
diff --git a/app-text/libmspub/libmspub-9999.ebuild b/app-text/libmspub/libmspub-9999.ebuild
new file mode 100644
index 000000000000..3ec133f2c60d
--- /dev/null
+++ b/app-text/libmspub/libmspub-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/libmspub/libmspub-9999.ebuild,v 1.1 2012/06/07 11:41:17 scarabeus Exp $
+
+EAPI=4
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/${PN}/"
+[[ ${PV} == 9999 ]] && vcs="autotools git-2"
+inherit base ${vcs}
+unset vcs
+
+DESCRIPTION="Library parsing the Microsoft Publisher documents"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/libmspub"
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc static-libs"
+
+RDEPEND="
+ app-text/libwpd:0.9
+ app-text/libwpg:0.2
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/libtool
+ doc? ( app-doc/doxygen )
+"
+
+src_prepare() {
+ base_src_prepare
+ [[ -d m4 ]] || mkdir "m4"
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --disable-werror \
+ $(use_with doc docs)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/app-text/libmspub/metadata.xml b/app-text/libmspub/metadata.xml
new file mode 100644
index 000000000000..5d46203011d6
--- /dev/null
+++ b/app-text/libmspub/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>openoffice</herd>
+</pkgmetadata>