blob: cc857f297bd21f2ea76787ada64f094149af81bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-print/xerox-drivers/xerox-drivers-0_p20080123.ebuild,v 1.3 2010/07/01 21:15:08 tgurr Exp $
EAPI="2"
MY_PN="LinuxCupsPrinterPkg"
DESCRIPTION="PPD files of XEROX printers (CopyCentre, DocuPrint, Phaser, WorkCentre) for CUPS printing system"
HOMEPAGE="http://www.support.xerox.com/go/getfile.asp?objid=61334&prodID=6180"
SRC_URI="http://download.support.xerox.com/pub/drivers/DocuColor_2006/drivers/unix/en/${MY_PN}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="net-print/cups"
S="${WORKDIR}/${MY_PN}"
# Suppressing warnings from the incorrect upstream tarball
src_unpack() {
unpack ${A} 2> /dev/null
}
src_install() {
dodoc Readme.txt || die "missing Readme.txt"
insinto /usr/share/cups/model
doins *.ppd || die "missing ppd files"
}
|