1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Epson EPL-5x00L/EPL-6x00L Printer Driver for ghostscript"
8 HOMEPAGE="http://sourceforge.net/projects/epsonepl"
9 SRC_URI="mirror://sourceforge/epsonepl/${P}.tgz"
13 KEYWORDS="~amd64 ~x86"
16 DEPEND="net-print/cups
17 app-text/ghostscript-gpl
18 net-print/foomatic-filters
19 usb? ( virtual/libusb )"
25 epatch "${FILESDIR}/${P}-destdir.patch"
29 econf $(use_with usb libusb)
30 emake || die "emake failed"
34 emake DESTDIR="${D}" install || die "emake install failed"
36 insinto /usr/share/ppd/
37 doins foomatic_PPDs/* || die "doins failed"
39 dodoc ChangeLog FAQ README || die "dodoc failed"