# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.1.7.ebuild,v 1.5 2009/12/26 17:43:20 pva Exp $ inherit flag-o-matic eutils multilib IUSE="cups foomaticdb gimp gtk readline ppds" DESCRIPTION="Ghostscript and cups printer drivers" HOMEPAGE="http://gutenprint.sourceforge.net" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2" RESTRICT="test" RDEPEND="cups? ( >=net-print/cups-1.1.14 ) app-text/ghostscript-gpl sys-libs/readline gtk? ( >=x11-libs/gtk+-2.0 ) gimp? ( >=media-gfx/gimp-2.2 >=x11-libs/gtk+-2.0 ) dev-lang/perl foomaticdb? ( net-print/foomatic-db-engine )" DEPEND="${RDEPEND} gtk? ( dev-util/pkgconfig )" LICENSE="GPL-2" SLOT="0" append-flags -fno-inline-functions src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-parallel-build.patch # IJS Patch sed -i -e "s: