summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-07-14 16:55:56 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-07-14 16:55:56 +0000
commit92903b5ba580110a04e2ae20a2eaccdaad82424d (patch)
treeeb254026c9546bbc7f9f862d6634f69669c571c9 /app-text/ots
parentStable on ppc wrt bug 214134 (diff)
downloadgentoo-2-92903b5ba580110a04e2ae20a2eaccdaad82424d.tar.gz
gentoo-2-92903b5ba580110a04e2ae20a2eaccdaad82424d.tar.bz2
gentoo-2-92903b5ba580110a04e2ae20a2eaccdaad82424d.zip
resurrect ots-0.4.2.ebuild which is still used by app-office/abiword-plugins-2.4.6
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text/ots')
-rw-r--r--app-text/ots/ChangeLog6
-rw-r--r--app-text/ots/ots-0.4.2.ebuild41
2 files changed, 46 insertions, 1 deletions
diff --git a/app-text/ots/ChangeLog b/app-text/ots/ChangeLog
index 9d780a7bc85a..868eae9341e6 100644
--- a/app-text/ots/ChangeLog
+++ b/app-text/ots/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/ots
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ots/ChangeLog,v 1.26 2008/07/14 01:33:51 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ots/ChangeLog,v 1.27 2008/07/14 16:55:56 mr_bones_ Exp $
+
+ 14 Jul 2008; Michael Sterrett <mr_bones_@gentoo.org> +ots-0.4.2.ebuild:
+ resurrect ots-0.4.2.ebuild which is still used by
+ app-office/abiword-plugins-2.4.6
14 Jul 2008; Marcelo Goes <vanquirius@gentoo.org> -ots-0.4.2.ebuild:
Remove old ebuild.
diff --git a/app-text/ots/ots-0.4.2.ebuild b/app-text/ots/ots-0.4.2.ebuild
new file mode 100644
index 000000000000..3be2720f4a8f
--- /dev/null
+++ b/app-text/ots/ots-0.4.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/ots/ots-0.4.2.ebuild,v 1.9 2008/07/14 16:55:56 mr_bones_ Exp $
+
+inherit eutils
+
+DESCRIPTION="Open source Text Summarizer, as used in newer releases of abiword and kword."
+HOMEPAGE="http://libots.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libots/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ~mips ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="=dev-libs/glib-2*
+ >=dev-libs/libxml2-2.4.23
+ >=dev-libs/popt-1.5"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc4.diff
+}
+
+src_compile() {
+ # bug 97448
+ econf --disable-gtk-doc || die
+ # parallel make fails, bug 112932
+ emake -j1 || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ rm -rf "${D}"/usr/share/doc/libots
+ dodoc AUTHORS BUGS ChangeLog HACKING NEWS README TODO
+ cd "${S}"/doc/html
+ dohtml -r ./
+}