From f73affe12718ef91a2dc9932565b31c00fce9cd5 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Fri, 1 Apr 2011 11:23:13 -0700 Subject: hplip: Add recipe for 3.11.3a Signed-off-by: Steve Sakoman Signed-off-by: Koen Kooi --- recipes/hplip/hplip_3.11.3a.bb | 58 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 recipes/hplip/hplip_3.11.3a.bb (limited to 'recipes/hplip') diff --git a/recipes/hplip/hplip_3.11.3a.bb b/recipes/hplip/hplip_3.11.3a.bb new file mode 100644 index 0000000000..5e8298908c --- /dev/null +++ b/recipes/hplip/hplip_3.11.3a.bb @@ -0,0 +1,58 @@ +DESCRIPTION = "HP Linux Imaging and Printing" +LICENSE = "GPL, MIT, BSD" + +DEPENDS = "cups net-snmp" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \ + " +inherit autotools + +EXTRA_OECONF = ' \ + BUILD_SYS="" HOST_SYS="" \ + --enable-hpijs-install \ + --enable-gui-build \ + --enable-pp-build \ + --enable-policy-kit \ + --disable-scan-build \ + --enable-foomatic-ppd-install \ + --enable-foomatic-drv-install \ + --enable-udev-acl-rules \ + ' + +# needed by python checks in configure +EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""' + +do_install_prepend() { + sed -i -e s:SYSFS:ATTRS:g data/rules/55-hpmud.rules + sed -i -e s:SYSFS:ATTRS:g data/rules/56-hpmud_support.rules +} + +PACKAGES += "${PN}-ppd ${PN}-cups ${PN}-backend ${PN}-filter" +RDEPENDS_${PN} += "net-snmp-client python-syslog python-pprint python-compression python-shell python-xml python-unixadmin python-html python-resource python-terminal" + +# need to snag the debug file or OE will fail on backend package +FILES_${PN}-dbg += "\ + ${libdir}/cups/backend/.debug \ + ${libdir}/python2.6/site-packages/.debug \ + ${libdir}/cups/filter/.debug " + +FILES_${PN}-ppd = "\ + ${datadir}/ppd" + +FILES_${PN}-cups = "\ + ${datadir}/cups" + +FILES_${PN}-backend = "\ + ${libdir}/cups/backend" + +FILES_${PN}-filter = "\ + ${libdir}/cups/filter" + +FILES_${PN} += "\ + ${libdir}/python2.6/site-packages \ + ${datadir}/hal/fdi/preprobe/10osvendor \ + " + +SRC_URI[md5sum] = "967e095bec457b4acc858774d673f884" +SRC_URI[sha256sum] = "ec51d275a91fcb54e9191c0f1475d5c742e659ca94f97f0be2d507d1091be569" + -- cgit 1.2.3-korg