libdecodeqr: add 0.9.4+git
authorKoen Kooi <koen@openembedded.org>
Tue, 14 Sep 2010 13:38:16 +0000 (15:38 +0200)
committerKoen Kooi <koen@openembedded.org>
Tue, 14 Sep 2010 14:07:00 +0000 (16:07 +0200)
recipes/opencv/libdecodeqr_git.bb [new file with mode: 0644]

diff --git a/recipes/opencv/libdecodeqr_git.bb b/recipes/opencv/libdecodeqr_git.bb
new file mode 100644 (file)
index 0000000..9712f98
--- /dev/null
@@ -0,0 +1,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
+}
+