# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.3.ebuild,v 1.2 2009/12/26 17:43:20 pva Exp $ inherit autotools 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" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-CFLAGS.patch epatch "${FILESDIR}"/${P}-parallel-build.patch # IJS Patch sed -i -e "s: