# Copyright 1999-2004 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.0.20031018.ebuild,v 1.6 2004/07/15 03:53:23 agriffis Exp $ inherit perl-module eutils MY_P=${P/3.0.0./3.0-} DESCRIPTION="Foomatic printer database engine" HOMEPAGE="http://www.linuxprinting.org/foomatic" SRC_URI="http://www.linuxprinting.org/download/foomatic/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64" IUSE="" DEPEND="dev-libs/libxml2 net-misc/wget net-misc/curl net-print/foomatic-filters" S=${WORKDIR}/${MY_P} src_compile() { epatch ${FILESDIR}/perl-module.diff econf || die make || die } src_install() { make DESTDIR=${D} install || die "make install failed" # install perl modules cd lib perl-module_src_prep perl-module_src_compile perl-module_src_test perl-module_src_install }