1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools eutils
7 DESCRIPTION="Open source Text Summarizer, as used in newer releases of abiword and kword"
8 HOMEPAGE="http://libots.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/libots/${P}.tar.gz"
13 KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ppc64 ~sparc x86"
18 >=dev-libs/libxml2-2.4.23
25 DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
28 # ugly ugly hack, kick upstream to fix its packaging
29 touch "${S}"/gtk-doc.make
31 epatch "${FILESDIR}"/${P}-math.patch
32 epatch "${FILESDIR}"/${P}-automake-1.13.patch
33 epatch "${FILESDIR}"/${P}-fix-installation.patch
34 epatch "${FILESDIR}"/${P}-fix-underlinking.patch
46 # parallel make fails, bug 112932
53 rm -rf "${D}"/usr/share/doc/libots