# 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.4.ebuild,v 1.1 2009/09/14 19:11:21 alexxy 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 ) virtual/ghostscript 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 # IJS Patch sed -i -e "s: