summaryrefslogtreecommitdiff
blob: f1ca1a175d9ee9fdf0f9def8357a9fa7406eca5a (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
35
36
37
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/hal-cups-utils/hal-cups-utils-0.6.19.ebuild,v 1.8 2009/12/27 12:47:00 armin76 Exp $

EAPI="2"

DESCRIPTION="Hal cups utilities"
HOMEPAGE="https://fedorahosted.org/hal-cups-utils/"
SRC_URI="https://fedorahosted.org/releases/h/a/hal-cups-utils/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="alpha ~amd64 ~hppa ia64 ppc ppc64 sparc ~x86"
SLOT="0"
IUSE=""

COMMON_DEPEND="
	>=dev-libs/dbus-glib-0.74
	>=dev-libs/glib-2.16
	net-print/cups
	>=sys-apps/dbus-1.2
	>=sys-apps/hal-0.5.10
"
DEPEND="${COMMON_DEPEND}
	dev-util/pkgconfig
"
RDEPEND="${COMMON_DEPEND}
	app-admin/system-config-printer-common
"

src_install() {
	dodoc AUTHORS ChangeLog README || die "dodoc failed"

	emake \
		DESTDIR="${D}" \
		cupsdir="/usr/libexec/cups/backend" \
		install || die "emake install failed"
}