diff options
author | Angelo Arrifano <miknix@gentoo.org> | 2009-07-14 23:40:26 +0000 |
---|---|---|
committer | Angelo Arrifano <miknix@gentoo.org> | 2009-07-14 23:40:26 +0000 |
commit | d4231ad63573aca056eeaa940bf9eef837c1bfa1 (patch) | |
tree | b3d1ba80aa5d3dd2088f72a4080d7bcabab2d88d /gpe-base | |
parent | Sparc stable, part of security bug #257007. (diff) | |
download | gentoo-2-d4231ad63573aca056eeaa940bf9eef837c1bfa1.tar.gz gentoo-2-d4231ad63573aca056eeaa940bf9eef837c1bfa1.tar.bz2 gentoo-2-d4231ad63573aca056eeaa940bf9eef837c1bfa1.zip |
Prevent gtk-doc being always installed, add doc use flag.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'gpe-base')
-rw-r--r-- | gpe-base/libgpepimc/ChangeLog | 5 | ||||
-rw-r--r-- | gpe-base/libgpepimc/libgpepimc-0.9.ebuild | 21 |
2 files changed, 21 insertions, 5 deletions
diff --git a/gpe-base/libgpepimc/ChangeLog b/gpe-base/libgpepimc/ChangeLog index c05803b9c168..87a0051765c7 100644 --- a/gpe-base/libgpepimc/ChangeLog +++ b/gpe-base/libgpepimc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for gpe-base/libgpepimc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpepimc/ChangeLog,v 1.1 2009/03/01 00:06:25 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpepimc/ChangeLog,v 1.2 2009/07/14 23:40:26 miknix Exp $ + + 14 Jul 2009; Angelo Arrifano <miknix@gentoo.org> libgpepimc-0.9.ebuild: + Prevent gtk-doc being always installed, add doc use flag. *libgpepimc-0.9 (01 Mar 2009) diff --git a/gpe-base/libgpepimc/libgpepimc-0.9.ebuild b/gpe-base/libgpepimc/libgpepimc-0.9.ebuild index dd2e82d7d365..87470600ff32 100644 --- a/gpe-base/libgpepimc/libgpepimc-0.9.ebuild +++ b/gpe-base/libgpepimc/libgpepimc-0.9.ebuild @@ -1,17 +1,18 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpepimc/libgpepimc-0.9.ebuild,v 1.1 2009/03/01 00:06:25 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpepimc/libgpepimc-0.9.ebuild,v 1.2 2009/07/14 23:40:26 miknix Exp $ GPE_TARBALL_SUFFIX="bz2" -inherit gpe +inherit gpe autotools DESCRIPTION="Common code for PIM applications of the GPE Palmtop Environment" 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} >=x11-libs/gtk+-2.2 @@ -20,4 +21,16 @@ RDEPEND="${RDEPEND} dev-db/sqlite" DEPEND="${DEPEND} - ${RDEPEND}" + ${RDEPEND} + doc? ( >=dev-util/gtk-doc-1.2 )" + +src_unpack() { + gpe_src_unpack "$@" + + if ! use doc; then + sed -i -e 's;SUBDIRS = doc;SUBDIRS = ;' Makefile.am \ + || die "sed failed" + fi + + eautoreconf +} |