summaryrefslogtreecommitdiff
path: root/recipes/hal/hal-cups-utils_0.6.19.bb
blob: 289990e0f05f9e05ca042be4fda4fb7bf906f135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Utilities to detect and configure printers automatically"
HOMEPAGE = "https://fedorahosted.org/hal-cups-utils/"
SECTION = "console/utils"
LICENSE = "GPLv2 CUPS"
DEPENDS = "hal dbus cups"
RDEPENDS_${PN} += "python-dbus python-pycups python-cupshelpers python-subprocess python-syslog usbutils"

SRC_URI = "https://fedorahosted.org/releases/h/a/hal-cups-utils/hal-cups-utils-${PV}.tar.gz"
S = "${WORKDIR}/${PN}-${PV}"

inherit autotools

PACKAGES += "cups-backend-hal"

FILES_${PN} += "${libdir}/hal/* ${datadir}/hal/*"
FILES_${PN}-dbg += "${libdir}/hal/.debug ${libdir}/cups/backend/.debug"
FILES_cups-backend-hal += "${libdir}/cups/backend/*"

EXTRA_OECONF = "--libexecdir=${libdir}/hal/scripts"

do_configure_append() {
	sed -i 's,^#!/bin/env python,#!/usr/bin/python,' systemv/hal_lpadmin
}