summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-03-11 15:25:35 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-03-11 15:25:35 +0000
commitaea14d866c39851c453d26d16b7cd9411d77ffa2 (patch)
tree617f0a4edd0f964ac1dcf772a557a106a4867eff /app-text
parentold (diff)
downloadgentoo-2-aea14d866c39851c453d26d16b7cd9411d77ffa2.tar.gz
gentoo-2-aea14d866c39851c453d26d16b7cd9411d77ffa2.tar.bz2
gentoo-2-aea14d866c39851c453d26d16b7cd9411d77ffa2.zip
Update HOMEPAGE. Tidy while at it. EAPI4 etc
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/libspectre/ChangeLog7
-rw-r--r--app-text/libspectre/libspectre-0.2.6.ebuild30
2 files changed, 17 insertions, 20 deletions
diff --git a/app-text/libspectre/ChangeLog b/app-text/libspectre/ChangeLog
index 148cac13e907..dd64efd4cc8f 100644
--- a/app-text/libspectre/ChangeLog
+++ b/app-text/libspectre/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/libspectre
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libspectre/ChangeLog,v 1.53 2011/08/27 20:06:21 dilfridge Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/libspectre/ChangeLog,v 1.54 2012/03/11 15:25:35 ssuominen Exp $
+
+ 11 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> libspectre-0.2.6.ebuild:
+ Update HOMEPAGE.
27 Aug 2011; Andreas K. Huettel <dilfridge@gentoo.org>
libspectre-0.2.6.ebuild:
diff --git a/app-text/libspectre/libspectre-0.2.6.ebuild b/app-text/libspectre/libspectre-0.2.6.ebuild
index 95f4f1f6ecae..5c4b449acc1e 100644
--- a/app-text/libspectre/libspectre-0.2.6.ebuild
+++ b/app-text/libspectre/libspectre-0.2.6.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libspectre/libspectre-0.2.6.ebuild,v 1.11 2011/08/27 20:06:21 dilfridge Exp $
-
-EAPI=3
+# $Header: /var/cvsroot/gentoo-x86/app-text/libspectre/libspectre-0.2.6.ebuild,v 1.12 2012/03/11 15:25:35 ssuominen Exp $
+EAPI=4
inherit autotools eutils
-DESCRIPTION="Library to render Postscript documents."
-HOMEPAGE="http://libspectre.freedesktop.org/wiki/"
+DESCRIPTION="A library for rendering Postscript documents"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/libspectre"
SRC_URI="http://libspectre.freedesktop.org/releases/${P}.tar.gz"
LICENSE="GPL-2"
@@ -24,6 +23,8 @@ DEPEND="${RDEPEND}
# does not actually test anything, see bug 362557
RESTRICT="test"
+DOCS="NEWS README TODO"
+
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.2.0-interix.patch
eautoreconf # need new libtool for interix
@@ -31,7 +32,6 @@ src_prepare() {
src_configure() {
econf \
- --disable-dependency-tracking \
$(use_enable debug asserts) \
$(use_enable debug checks) \
$(use_enable static-libs static) \
@@ -39,20 +39,14 @@ src_configure() {
}
src_compile() {
- emake || die "emake failed"
-
+ emake
if use doc; then
- doxygen || die "doxygen failed"
+ doxygen || die
fi
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc NEWS README TODO || die "installing docs failed"
- if use doc; then
- dohtml -r "${S}"/doc/html/* || die "dohtml failed"
- fi
-
- find "${D}" -name "*.la" -exec rm -v {} + || die
+ default
+ use doc && dohtml -r doc/html/*
+ find "${ED}" -name '*.la' -exec rm -f {} +
}