# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/foomatic-db-engine-3.0.2.ebuild,v 1.15 2006/07/15 03:16:26 vapier Exp $ inherit perl-app eutils DESCRIPTION="Generates ppds out of xml foomatic printer description files" HOMEPAGE="http://www.linuxprinting.org/foomatic.html" SRC_URI="http://www.linuxprinting.org/download/foomatic/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" IUSE="" DEPEND="dev-libs/libxml2 net-misc/wget net-misc/curl net-print/foomatic-filters" src_compile() { epatch ${FILESDIR}/perl-module-3.0.1.diff epatch ${FILESDIR}/flex-configure-LANG.patch econf || die make || die } src_install() { make DESTDIR=${D} install || die "make install failed" # install perl modules cd lib perl-app_src_prep perl-app_src_compile perl-module_src_test perl-module_src_install }