libv4l: convert to new style staging and add 0.6.1
authorKoen Kooi <koen@openembedded.org>
Sat, 27 Mar 2010 10:09:39 +0000 (11:09 +0100)
committerKoen Kooi <koen@openembedded.org>
Sat, 27 Mar 2010 10:09:39 +0000 (11:09 +0100)
recipes/v4l2apps/libv4l.inc [new file with mode: 0644]
recipes/v4l2apps/libv4l_0.5.8.bb
recipes/v4l2apps/libv4l_0.6.1.bb [new file with mode: 0644]

diff --git a/recipes/v4l2apps/libv4l.inc b/recipes/v4l2apps/libv4l.inc
new file mode 100644 (file)
index 0000000..644701c
--- /dev/null
@@ -0,0 +1,13 @@
+DESCRIPTION = "libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices."
+LICENSE = "LGPLv2"
+
+SRC_URI = "http://people.atrpms.net/~hdegoede/libv4l-${PV}.tar.gz;name=libv4l"
+
+inherit pkgconfig
+
+export PREFIX="${prefix}"
+
+do_install() {
+       oe_runmake DESTDIR="${D}" install
+}
+
index a53c52f..2fbcfc8 100644 (file)
@@ -1,16 +1 @@
-DESCRIPTION = "libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices."
-LICENSE = "LGPLv2"
-
-SRC_URI = "http://people.atrpms.net/~hdegoede/libv4l-${PV}.tar.gz"
-
-inherit pkgconfig
-
-export PREFIX="${prefix}"
-
-do_install() {
-       oe_runmake DESTDIR="${D}" install
-}
-
-do_stage() {
-       oe_runmake DESTDIR="${STAGING_DIR_TARGET}" install
-}
+require libv4l.inc
diff --git a/recipes/v4l2apps/libv4l_0.6.1.bb b/recipes/v4l2apps/libv4l_0.6.1.bb
new file mode 100644 (file)
index 0000000..7e271f1
--- /dev/null
@@ -0,0 +1,4 @@
+require libv4l.inc
+
+SRC_URI[libv4l.md5sum] = "0d0d96d77c98871d2e5466c10cb30a0a"
+SRC_URI[libv4l.sha256sum] = "36b93e192cd0d16d764370d0c5917a5d8257eefbaada48ba379736bdd3f22bbf"