summaryrefslogtreecommitdiff
path: root/recipes/hplip/hplip_2.8.10.bb
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2009-09-29 07:33:37 -0400
committerCliff Brake <cbrake@bec-systems.com>2009-09-29 07:33:54 -0400
commite6e71d56f131d0d7e769af34dc4eb2e2a79cd71c (patch)
treeedd8d140e13fc22374d3d63e9de199e6a4309e7f /recipes/hplip/hplip_2.8.10.bb
parent331fb40cd2e75c4e48bd380d93d191d71faaf5e8 (diff)
hplip: add recipe
Diffstat (limited to 'recipes/hplip/hplip_2.8.10.bb')
-rw-r--r--recipes/hplip/hplip_2.8.10.bb45
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/hplip/hplip_2.8.10.bb b/recipes/hplip/hplip_2.8.10.bb
new file mode 100644
index 0000000000..7f8c0e1c36
--- /dev/null
+++ b/recipes/hplip/hplip_2.8.10.bb
@@ -0,0 +1,45 @@
+DESCRIPTION = "HP Linux Imaging and Printing"
+LICENSE = "GPL, MIT"
+
+# currently, we build a stripped down version that only includes IJS
+# and components required to implement a minimal printing system
+# for embedded systems.
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \
+ file://cross-build.patch;patch=1"
+
+PR = "r1"
+
+inherit autotools
+
+EXTRA_OECONF = ' \
+ BUILD_SYS="" HOST_SYS="" \
+ --disable-network-build \
+ --disable-doc-build \
+ --disable-pp-build \
+ --disable-scan-build \
+ --disable-gui-build \
+ --disable-fax-build \
+ --disable-dbus-build \
+ --disable-foomatic-drv-install \
+ --disable-foomatic-rip-hplip-install \
+ '
+
+# needed by python checks in configure
+EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
+
+PACKAGES += "${PN}-ppd ${PN}-cups ${PN}-backend"
+
+# need to snag the debug file or OE will fail on backend package
+FILES_${PN}-dbg += "\
+ ${libdir}/cups/backend/.debug
+
+FILES_${PN}-ppd = "\
+ ${datadir}/ppd"
+
+FILES_${PN}-cups = "\
+ ${datadir}/cups"
+
+FILES_${PN}-backend = "\
+ ${libdir}/cups/backend"
+