summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-07-15 01:50:33 +0000
committerAngelo Arrifano <miknix@gentoo.org>2009-07-15 01:50:33 +0000
commit4e7f418d27e30ea9e99b5b90f48628e9556e24dc (patch)
tree8e57ee375e78696f666876a1b92d5db61f80eec6 /gpe-base
parentAdd eautoreconf missing from previous commit. (diff)
downloadgentoo-2-4e7f418d27e30ea9e99b5b90f48628e9556e24dc.tar.gz
gentoo-2-4e7f418d27e30ea9e99b5b90f48628e9556e24dc.tar.bz2
gentoo-2-4e7f418d27e30ea9e99b5b90f48628e9556e24dc.zip
Fix build ignoring --disable-gtk-doc.
Improve ebuild description. Fill in GPE_DOCS. (Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'gpe-base')
-rw-r--r--gpe-base/libmimedir/ChangeLog7
-rw-r--r--gpe-base/libmimedir/libmimedir-0.4.2.ebuild27
2 files changed, 26 insertions, 8 deletions
diff --git a/gpe-base/libmimedir/ChangeLog b/gpe-base/libmimedir/ChangeLog
index 0385945a5c57..3dd3d4c7cd31 100644
--- a/gpe-base/libmimedir/ChangeLog
+++ b/gpe-base/libmimedir/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gpe-base/libmimedir
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gpe-base/libmimedir/ChangeLog,v 1.2 2009/03/01 01:02:15 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libmimedir/ChangeLog,v 1.3 2009/07/15 01:50:33 miknix Exp $
+
+ 15 Jul 2009; Angelo Arrifano <miknix@gentoo.org> libmimedir-0.4.2.ebuild:
+ Fix build ignoring --disable-gtk-doc.
+ Improve ebuild description.
+ Fill in GPE_DOCS.
01 Mar 2009; <miknix@gentoo.org> libmimedir-0.4.2.ebuild:
Fix ebuild to use GPE_DOCS from the new gpe eclass.
diff --git a/gpe-base/libmimedir/libmimedir-0.4.2.ebuild b/gpe-base/libmimedir/libmimedir-0.4.2.ebuild
index 7e6c88575a46..72890382efc7 100644
--- a/gpe-base/libmimedir/libmimedir-0.4.2.ebuild
+++ b/gpe-base/libmimedir/libmimedir-0.4.2.ebuild
@@ -1,24 +1,37 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gpe-base/libmimedir/libmimedir-0.4.2.ebuild,v 1.2 2009/03/01 01:02:15 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libmimedir/libmimedir-0.4.2.ebuild,v 1.3 2009/07/15 01:50:33 miknix Exp $
GPE_TARBALL_SUFFIX="gz"
GPE_MIRROR="http://gpe.linuxtogo.org/download/source"
-inherit eutils gpe
+inherit gpe autotools
-DESCRIPTION="${PN} - GPE Palmtop Environment"
+DESCRIPTION="RFC2425 MIME Directory Profile library"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
-IUSE="doc"
-GPE_DOCS=""
+IUSE="${IUSE} doc"
+GPE_DOCS="AUTHORS ChangeLog COPYING.LIB INSTALL NEWS README TODO"
+GPECONF="$(use_enable doc gtk-doc)"
RDEPEND="${RDEPEND}
!dev-libs/libmimedir
>=gpe-base/libgpewidget-0.102"
-DEPEND="${DEPEND} ${RDEPEND}"
+DEPEND="${DEPEND}
+ ${RDEPEND}
+ doc? ( >=dev-util/gtk-doc-0.6 )"
+
+src_unpack() {
+ gpe_src_unpack "$@"
+
+ if ! use doc; then
+ sed -i -e 's;docs;;' Makefile.am \
+ || die "sed failed"
+ fi
+
+ eautoreconf
+}
-GPECONF="$(use_enable doc gtk-doc)"