summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-11-05 14:38:46 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-11-05 14:38:46 +0000
commit955e7d77c2312b25049b4c4195e3390ae921a6a0 (patch)
tree5154495b3554cdec0e76691ada28905427324f1c /app-text
parentAutomated update of use.local.desc (diff)
downloadhistorical-955e7d77c2312b25049b4c4195e3390ae921a6a0.tar.gz
historical-955e7d77c2312b25049b4c4195e3390ae921a6a0.tar.bz2
historical-955e7d77c2312b25049b4c4195e3390ae921a6a0.zip
Moved from sunrise overlay. Bug #263574
Package-Manager: portage-2.2.0_alpha3_p8/cvs/Linux x86_64
Diffstat (limited to 'app-text')
-rw-r--r--app-text/odt2txt/ChangeLog11
-rw-r--r--app-text/odt2txt/Manifest15
-rw-r--r--app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch14
-rw-r--r--app-text/odt2txt/metadata.xml18
-rw-r--r--app-text/odt2txt/odt2txt-0.4.ebuild30
5 files changed, 88 insertions, 0 deletions
diff --git a/app-text/odt2txt/ChangeLog b/app-text/odt2txt/ChangeLog
new file mode 100644
index 000000000000..ca6a792ff977
--- /dev/null
+++ b/app-text/odt2txt/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-text/odt2txt
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/odt2txt/ChangeLog,v 1.1 2010/11/05 14:38:46 hwoarang Exp $
+
+*odt2txt-0.4 (05 Nov 2010)
+
+ 05 Nov 2010; Markos Chandras <hwoarang@gentoo.org> +odt2txt-0.4.ebuild,
+ +files/odt2txt-0.4-darwin_iconv.patch, +metadata.xml:
+ Moved from sunrise overlay. Bug #263574. Thanks to Dirk Tilger
+ <dirk@miriup.de> for the initial ebuild. Montjoie will be proxy maintainer
+
diff --git a/app-text/odt2txt/Manifest b/app-text/odt2txt/Manifest
new file mode 100644
index 000000000000..f1cd15e3b005
--- /dev/null
+++ b/app-text/odt2txt/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX odt2txt-0.4-darwin_iconv.patch 366 RMD160 1572f05d3287471118c930f3b7fd9400f05daa48 SHA1 85966e0cab843e683fbae59e698f7f09bc9574f8 SHA256 2ce5183a5f5d64ebb265cfe527b60819e2a06fac17707ccc83f2aece9dccd0e8
+DIST odt2txt-0.4.tar.gz 23997 RMD160 bb6ef1a58a6b18f40855be4124e32b1d514e8bca SHA1 331eef1c64cec809a5c7b7cfb972279cc4f9c914 SHA256 a5f4bdf81cdc2afb60fa74ed5da34235eafdc78263f5aaa325193c2bf8d166f8
+EBUILD odt2txt-0.4.ebuild 706 RMD160 848536ef40512d0ea395dab574c7b1c875cf52c4 SHA1 429ba74eb8a93b5e8fd056530b7a84285857d752 SHA256 3bbcb0a05676abcda6ec71ec107053efce74365e809c33550ac527926b571dc3
+MISC ChangeLog 508 RMD160 32229a8a26d11dc1db3f541c19cf915773f95935 SHA1 f3abb1b61e957d9ae73e69c80de901a94268d5ef SHA256 31d4003367e58cb9bad0c50c3e9cd7450e50b6d7686517ee8278466a9412a5e4
+MISC metadata.xml 525 RMD160 bf54d14435c5598c98426793f23dd20d607d7363 SHA1 52f55c88ccb0833d05d4ff184f36d4bda3ee5c19 SHA256 0881b32f9de12bebc6eccf7d40513b9f41a76c320783b528aa6bb8278918c994
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzUFvsACgkQ9/cejkQaxBC8HACfUr1h/ih77ZshoySKq6ZBRrYm
+QZQAn0iNwXX2NqhWWN6Ev6JbCKxBTmYv
+=30+M
+-----END PGP SIGNATURE-----
diff --git a/app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch b/app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch
new file mode 100644
index 000000000000..05957269888e
--- /dev/null
+++ b/app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch
@@ -0,0 +1,14 @@
+diff -ur odt2txt-0.4/Makefile odt2txt-0.4/Makefile
+--- odt2txt-0.4/Makefile 2008-06-23 23:32:28 +0400
++++ odt2txt-0.4/Makefile 2010-05-24 15:39:16 +0400
+@@ -56,6 +56,9 @@
+ CFLAGS += -I$(ZLIB_DIR)
+ LIBS = $(ZLIB_DIR)/libz.a
+ endif
++ifeq ($(UNAME_S),Darwin)
++ LIBS += -liconv
++endif
+ ifeq ($(UNAME_O),Cygwin)
+ CFLAGS += -DICONV_CHAR="const char"
+ LIBS += -liconv
+
diff --git a/app-text/odt2txt/metadata.xml b/app-text/odt2txt/metadata.xml
new file mode 100644
index 000000000000..0ce78691cdf7
--- /dev/null
+++ b/app-text/odt2txt/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+<description>Proxy maintainer. CC him on bugs</description>
+</maintainer>
+<maintainer>
+<email>corentin.labbe@geomatys.fr</email>
+<name>LABBE Corentin (Montjoie)</name>
+<description>Maintainer. Assign bugs to him</description>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/app-text/odt2txt/odt2txt-0.4.ebuild b/app-text/odt2txt/odt2txt-0.4.ebuild
new file mode 100644
index 000000000000..3cb8957d1e5c
--- /dev/null
+++ b/app-text/odt2txt/odt2txt-0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/odt2txt/odt2txt-0.4.ebuild,v 1.1 2010/11/05 14:38:46 hwoarang Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="A simple converter from OpenDocument Text to plain text"
+HOMEPAGE="http://stosberg.net/odt2txt/"
+SRC_URI="http://stosberg.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-macos"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ virtual/libiconv"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-darwin_iconv.patch
+}
+
+src_install() {
+ emake install DESTDIR="${D}" PREFIX=/usr || die
+ doman odt2txt.1 || die
+}