summaryrefslogtreecommitdiff
blob: f0568f08794cdeb898052f31fe246b67e59436c4 (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
33
34
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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="Xerox"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RESTRICT="bindist fetch"

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"
}