summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-08-26 16:36:57 +0000
committerAngelo Arrifano <miknix@gentoo.org>2009-08-26 16:36:57 +0000
commitbc2ffc749956a9cc8de3b41c7647cab95a21420a (patch)
tree6eff66eaf742b3494b3229b8d09b6777e50487f5 /gpe-base
parentsparc stable wrt #278587 (diff)
downloadgentoo-2-bc2ffc749956a9cc8de3b41c7647cab95a21420a.tar.gz
gentoo-2-bc2ffc749956a9cc8de3b41c7647cab95a21420a.tar.bz2
gentoo-2-bc2ffc749956a9cc8de3b41c7647cab95a21420a.zip
Add DEPEND on dev-util/gtk-doc-am due to use of GTK_DOC_CHECK M4 macro.
Remove redundant IUSE expansion. (Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'gpe-base')
-rw-r--r--gpe-base/libtododb/ChangeLog6
-rw-r--r--gpe-base/libtododb/libtododb-0.11.ebuild23
2 files changed, 24 insertions, 5 deletions
diff --git a/gpe-base/libtododb/ChangeLog b/gpe-base/libtododb/ChangeLog
index 06816cde99f7..d516b66fcf03 100644
--- a/gpe-base/libtododb/ChangeLog
+++ b/gpe-base/libtododb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gpe-base/libtododb
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gpe-base/libtododb/ChangeLog,v 1.2 2009/03/01 01:05:31 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libtododb/ChangeLog,v 1.3 2009/08/26 16:36:57 miknix Exp $
+
+ 26 Aug 2009; Angelo Arrifano <miknix@gentoo.org> libtododb-0.11.ebuild:
+ Add DEPEND on dev-util/gtk-doc-am due to use of GTK_DOC_CHECK M4 macro.
+ Remove redundant IUSE expansion.
01 Mar 2009; <miknix@gentoo.org> libtododb-0.11.ebuild:
Fix ebuild to use GPE_DOCS from the new gpe eclass.
diff --git a/gpe-base/libtododb/libtododb-0.11.ebuild b/gpe-base/libtododb/libtododb-0.11.ebuild
index 2e928bf9f115..65ea6aef2ab2 100644
--- a/gpe-base/libtododb/libtododb-0.11.ebuild
+++ b/gpe-base/libtododb/libtododb-0.11.ebuild
@@ -1,21 +1,36 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gpe-base/libtododb/libtododb-0.11.ebuild,v 1.2 2009/03/01 01:05:31 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libtododb/libtododb-0.11.ebuild,v 1.3 2009/08/26 16:36:57 miknix Exp $
GPE_TARBALL_SUFFIX="bz2"
-inherit gpe
+inherit gpe autotools
DESCRIPTION="Database access library for GPE to-do list"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
-IUSE="${IUSE}"
+IUSE="doc"
GPE_DOCS="ChangeLog"
+GPECONF="${GPECONF} $(use_enable doc gtk-doc)"
RDEPEND="${RDEPEND}
>=gpe-base/libgpewidget-0.113
>=gpe-base/libgpepimc-0.6
=dev-db/sqlite-2.8*"
-DEPEND="${DEPEND} ${RDEPEND}"
+DEPEND="${DEPEND}
+ ${RDEPEND}
+ doc? ( >=dev-util/gtk-doc-1.2 )
+ dev-util/gtk-doc-am"
+
+src_unpack() {
+ gpe_src_unpack "$@"
+
+ if ! use doc; then
+ sed -i -e 's;SUBDIRS = doc;SUBDIRS = ;' Makefile.am \
+ || die "sed failed"
+ fi
+
+ eautoreconf
+}