summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2009-06-19 23:09:12 +0200
committerFlorian Boor <florian.boor@kernelconcepts.de>2009-06-19 23:12:43 +0200
commit1f4f1ed2f1986d50e7de022ffaae4f5688f6aa13 (patch)
tree8da7c353d979d927dbad896ee47a33a9447d1879 /recipes
parent7e4b03d13079c74c6b7dc7d7b53afd1b1cd8c042 (diff)
zbar: New recipe for zbar barcode decoder.
Diffstat (limited to 'recipes')
-rw-r--r--recipes/zbar/zbar_0.8.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/zbar/zbar_0.8.bb b/recipes/zbar/zbar_0.8.bb
new file mode 100644
index 0000000000..f971bc3f2b
--- /dev/null
+++ b/recipes/zbar/zbar_0.8.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "2D barcode scanner toolkit."
+SECTION = "graphics"
+LICENSE = "GPL"
+DEPENDS = "intltool-native gtk+ libpng jpeg"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.bz2"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}
+
+EXTRA_OECONF = " --without-imagemagick --without-qt --without-python"
+
+PACKAGES += "libzbar libzbargtk"
+
+FILES_${PN} = "${bindir}/zbar*"
+FILES_${PN}-doc = "${datadir}/doc ${datadir}/man "
+FILES_${PN}-dbg += " ${bindir}/.debug"
+FILES_libzbar = "${libdir}/libzbar.so.*"
+FILES_libzbar-dev = "${libdir}/libzbar.so ${libdir}/libzbar.*a ${includedir}/zbar* "
+FILES_libzbargtk = "${libdir}/libzbargtk.so.*"
+FILES_libzbargtk-dev = "${libdir}/libzbargtk.so ${libdir}/libzbargtk.*a"