diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/ots/ots-0.5.0-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/ots/ots-0.5.0-r1.ebuild')
-rw-r--r-- | app-text/ots/ots-0.5.0-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-text/ots/ots-0.5.0-r1.ebuild b/app-text/ots/ots-0.5.0-r1.ebuild new file mode 100644 index 000000000000..9df04cf45067 --- /dev/null +++ b/app-text/ots/ots-0.5.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools 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 ~arm hppa ~mips ppc ppc64 ~sparc x86" +IUSE="" + +RDEPEND=" + dev-libs/glib:2 + >=dev-libs/libxml2-2.4.23 + >=dev-libs/popt-1.5 +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO" + +src_prepare() { + # ugly ugly hack, kick upstream to fix its packaging + touch "${S}"/gtk-doc.make + + epatch "${FILESDIR}"/${P}-math.patch + epatch "${FILESDIR}"/${P}-automake-1.13.patch + epatch "${FILESDIR}"/${P}-fix-installation.patch + epatch "${FILESDIR}"/${P}-fix-underlinking.patch + eautoreconf +} + +src_configure() { + # bug 97448 + econf \ + --disable-gtk-doc \ + --disable-static +} + +src_compile() { + # parallel make fails, bug 112932 + emake -j1 +} + +src_install() { + default + prune_libtool_files + rm -rf "${D}"/usr/share/doc/libots +} |