blob: 0c605d7a44494eee5954fa628587f74bbb39f07b (
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
# $Id$
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"
}
|