diff options
Diffstat (limited to 'gpe-base/libeventdb/libeventdb-0.90.ebuild')
-rw-r--r-- | gpe-base/libeventdb/libeventdb-0.90.ebuild | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/gpe-base/libeventdb/libeventdb-0.90.ebuild b/gpe-base/libeventdb/libeventdb-0.90.ebuild index 3e2d40de653d..218b060251db 100644 --- a/gpe-base/libeventdb/libeventdb-0.90.ebuild +++ b/gpe-base/libeventdb/libeventdb-0.90.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gpe-base/libeventdb/libeventdb-0.90.ebuild,v 1.2 2009/03/01 00:57:37 miknix Exp $ +# $Header: /var/cvsroot/gentoo-x86/gpe-base/libeventdb/libeventdb-0.90.ebuild,v 1.3 2009/07/15 00:30:18 miknix Exp $ GPE_TARBALL_SUFFIX="bz2" @@ -11,18 +11,28 @@ DESCRIPTION="Database access library for GPE calendar" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~arm ~amd64 ~x86" -IUSE="${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} + doc? ( >=dev-util/gtk-doc-1.2 )" src_unpack() { gpe_src_unpack "$@" epatch "${FILESDIR}"/libeventdb-unbreak-LIVE-macro.patch + + if ! use doc; then + sed -i -e 's;SUBDIRS = doc;SUBDIRS = ;' Makefile.am \ + || die "sed failed" + fi } -RDEPEND="${RDEPEND} - >=gpe-base/libgpewidget-0.113 - >=gpe-base/libgpepimc-0.6 - =dev-db/sqlite-2.8*" -DEPEND="${DEPEND} ${RDEPEND}" |