summaryrefslogtreecommitdiff
path: root/recipes/zbar/zbar_0.8.bb
blob: f971bc3f2b1f8f1cce931e4641cfd66d3a02d01c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"