aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/opencv/libdecodeqr_git.bb
blob: 9712f981fabbe09a073ebdfdb3a5fc848f70dc30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "A C/C++ library for decoding QR code 2D barcodes"
LICENSE = "LGPLv2.1"

DEPENDS = "opencv"

PE = "1"
PV = "0.9.4"
PR = "r1+gitr${SRCREV}"

inherit autotools lib_package

SRCREV = "7e6896d78d857fada4b8"
SRC_URI = "git://github.com/josephholsten/libdecodeqr.git;protocol=git"

S = "${WORKDIR}/git"

do_install_append() {
	install -d ${D}${bindir}
	install -m 0755 ${S}/examples/simple/.libs/simpletest ${D}${bindir}/libdecodeqr-simpletest
	install -m 0755 ${S}/examples/webcam/.libs/webcam ${D}${bindir}/libdecodeqr-webcamtest
}