1 DESCRIPTION = "Utilities to detect and configure printers automatically"
2 HOMEPAGE = "https://fedorahosted.org/hal-cups-utils/"
3 SECTION = "console/utils"
5 DEPENDS = "hal dbus cups"
6 RDEPENDS_${PN} += "python-dbus python-pycups python-cupshelpers python-subprocess python-syslog usbutils"
8 SRC_URI = "https://fedorahosted.org/releases/h/a/hal-cups-utils/hal-cups-utils-${PV}.tar.gz"
9 S = "${WORKDIR}/${PN}-${PV}"
13 PACKAGES += "cups-backend-hal"
15 FILES_${PN} += "${libdir}/hal/* ${datadir}/hal/*"
16 FILES_${PN}-dbg += "${libdir}/hal/.debug ${libdir}/cups/backend/.debug"
17 FILES_cups-backend-hal += "${libdir}/cups/backend/*"
19 EXTRA_OECONF = "--libexecdir=${libdir}/hal/scripts"
21 do_configure_prepend() {
22 sed -i -e s:{includedir}/cups:{STAGING_INCDIR}/cups:g configure.in
25 do_configure_append() {
26 sed -i 's,^#!/bin/env python,#!/usr/bin/python,' systemv/hal_lpadmin