summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2008-05-17 15:24:43 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2008-05-17 15:24:43 +0000
commitf1a585b223409f0385a33cffa962e20f1aab2110 (patch)
treea75c45621835a2da04450053ed72b78125bef13e /app-text/ots/ots-0.5.0.ebuild
parentSimplify postprocess_desktop_entries(). (diff)
downloadhistorical-f1a585b223409f0385a33cffa962e20f1aab2110.tar.gz
historical-f1a585b223409f0385a33cffa962e20f1aab2110.tar.bz2
historical-f1a585b223409f0385a33cffa962e20f1aab2110.zip
Include math.h in grader-tf.c to avoid log function warnings, use emake install
instead of make install. Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-text/ots/ots-0.5.0.ebuild')
-rw-r--r--app-text/ots/ots-0.5.0.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/app-text/ots/ots-0.5.0.ebuild b/app-text/ots/ots-0.5.0.ebuild
index 515bdd076d81..b395f8877100 100644
--- a/app-text/ots/ots-0.5.0.ebuild
+++ b/app-text/ots/ots-0.5.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.5.0.ebuild,v 1.1 2007/10/07 22:43:39 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ots/ots-0.5.0.ebuild,v 1.2 2008/05/17 15:24:43 vanquirius Exp $
-inherit
+inherit eutils
DESCRIPTION="Open source Text Summarizer, as used in newer releases of abiword and kword."
HOMEPAGE="http://libots.sourceforge.net/"
@@ -20,6 +20,12 @@ RDEPEND="=dev-libs/glib-2*
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-math.patch
+}
+
src_compile() {
# bug 97448
econf --disable-gtk-doc || die
@@ -32,7 +38,7 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die
rm -rf "${D}"/usr/share/doc/libots
dodoc AUTHORS BUGS ChangeLog HACKING NEWS README TODO
cd "${S}"/doc/html