aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@buglabs.net>2011-02-03 11:55:14 +0100
committerStefan Schmidt <stefan@buglabs.net>2011-02-03 14:58:46 +0100
commit75f081b040ab6b870f07b719391a8a41f252f57a (patch)
tree80b58017986d4150f53d11c3bb8a8754a2055bf2
parent88609ddb59862bd5531c95069ea3615c56275b62 (diff)
downloadopenembedded-75f081b040ab6b870f07b719391a8a41f252f57a.tar.gz
openembedded-75f081b040ab6b870f07b719391a8a41f252f57a.tar.bz2
openembedded-75f081b040ab6b870f07b719391a8a41f252f57a.zip
bug2v4l2: Add recipe bug20 v4l2 interface
-rw-r--r--recipes/buglabs/bug2v4l2_0.01.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes/buglabs/bug2v4l2_0.01.bb b/recipes/buglabs/bug2v4l2_0.01.bb
new file mode 100644
index 0000000000..991bb94d9f
--- /dev/null
+++ b/recipes/buglabs/bug2v4l2_0.01.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "Video 4 Linux 2 Tools for Bug 2.0"
+LICENSE = "BSD"
+HOMEPAGE = "http://bugcommunity.com/wiki"
+MAINTAINER = "Bug Labs, Inc."
+DEPENDS += "virtual/kernel python"
+AUTHOR = "Lane Brooks <lane@brooksee.org>"
+inherit distutils-base
+
+PV = "0.01"
+PR = "r1"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "bug20"
+
+SRCREV="8321b5766b464a4cf80ff5f1c03276ee7f136d81"
+SRC_URI = git://gitorious.org/bl-camera2-test-app/bl-camera2-test-app.git;protocol=git"
+
+EXTRA_OEMAKE += "KDIR=${STAGING_KERNEL_DIR} OE_PATH=${STAGING_INCDIR}"
+
+S = "${WORKDIR}/git"
+do_install () {
+install -d ${D}${bindir}/
+install -m 0755 ${S}/bug2v4l2 ${D}${bindir}/
+
+install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/bug2v4l2
+install -m 0755 -t ${D}${libdir}/${PYTHON_DIR}/site-packages/bug2v4l2
+{S}/python/build/bug2v4l2/*
+
+install -d ${D}${datadir}/bug2v4l2/examples
+install -m 0755 -t ${D}${datadir}/bug2v4l2/examples ${S}/python/examples/*
+install -m 0755 -t ${D}${datadir}/bug2v4l2/examples ${S}/examples/*
+}
+
+FILES_${PN} += "${bindir}/bug2v4l2"
+FILES_${PN} += "${libdir}/${PYTHON_DIR}/site-packages/bug2v4l2"
+FILES_${PN}-debug += "${bindir}/.debug/bug2v4l2"
+
+PACKAGES =+ "${PN}-examples"
+FILES_${PN}-examples = "${datadir}/bug2v4l2/examples"