# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: John Davis #P="foomatic-2.0-current" S=${WORKDIR}/${P} DESCRIPTION="PPD file setup Utility" HOMEPAGE="http://www.linuxprinting.org" SRC_URI="http://www.linuxprinting.org/download/foomatic/${P}-current.tar.gz" DEPEND="virtual/glibc" RDEPEND="${DEPEND} >=sys-devel/perl-5.0 net-misc/wget dev-libs/libxml2 dev-libs/libxml >=app-text/ghostscript-6.0" src_compile () { cd ${S}* ./configure --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc/ \ --infodir=/usr/share/doc || die "bad ./configure" make || die "compile problem" } src_install () { cd ${S}* make DESTDIR=${D} install || die cd ${D}/usr/lib mkdir perl5 mv site_perl perl5 }