fd8500daf0
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1446 6952d904-891a-0410-993b-d76249ca496b
32 lines
914 B
Bash
32 lines
914 B
Bash
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
|
|
inherit eutils versionator
|
|
|
|
DESCRIPTION="linuxprinting.org PPD files for postscript printers"
|
|
HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
|
|
SRC_URI="http://linuxprinting.org/download/foomatic/${PN/-ppds}-$(replace_version_separator 2 '-').tar.gz"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
|
|
IUSE=""
|
|
|
|
S="${WORKDIR}/${PN/-ppds}-$(get_version_component_range 3)"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/Makefile.in-20070508.patch"
|
|
# scripts do not belong to this package, no translated ppds, no html and text files
|
|
rm -r "${S}"/db/source/PPD/Kyocera/{de,es,fr,it,pt,*.htm,*.txt}
|
|
}
|
|
|
|
src_compile() {
|
|
return
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die "emake install failed"
|
|
}
|