# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-user-docs/gnome-user-docs-2.26.2.ebuild,v 1.8 2010/01/18 00:14:24 jer Exp $ GCONF_DEBUG="no" inherit autotools eutils gnome2 DESCRIPTION="GNOME end user documentation" HOMEPAGE="http://www.gnome.org/" LICENSE="FDL-1.1" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" IUSE="test" RDEPEND="" DEPEND="app-text/scrollkeeper >=app-text/gnome-doc-utils-0.5.6 >=dev-util/pkgconfig-0.9 test? ( ~app-text/docbook-xml-dtd-4.1.2 ~app-text/docbook-xml-dtd-4.3 )" DOCS="AUTHORS ChangeLog NEWS README" pkg_setup() { G2CONF="${G2CONF} --disable-scrollkeeper" } src_unpack() { gnome2_src_unpack # Fix parallel make, bug #252163 epatch "${FILESDIR}/${PN}-2.24.2-parallel-make.patch" epatch "${FILESDIR}/${PN}-2.24.2-parallel-make-gdu.patch" # Ugly ugly hack but gnome-doc-utils isn't actually # parallel make safe. sed "s/install-data-local/install-data-hook/" \ -i gnome-doc-utils.make || die "sed failed" eautoreconf }