canutils: new recipes
authorVitus Jensen <vjensen@gmx.de>
Fri, 21 May 2010 04:38:05 +0000 (04:38 +0000)
committerEric Bénard <eric@eukrea.com>
Thu, 3 Jun 2010 19:46:24 +0000 (21:46 +0200)
Add canutils (PTX flavour) 4.0.4 and 4.0.5 as alternatives
to socketcan-utils-test.  Version 4.x requires libsocketcan
and supports kernel 2.6.30 and above.

Signed-off-by: Vitus Jensen <vjensen@gmx.de>
Signed-off-by: Eric Bénard <eric@eukrea.com>
recipes/socketcan/canutils.inc [new file with mode: 0644]
recipes/socketcan/canutils_4.0.4.bb [new file with mode: 0644]
recipes/socketcan/canutils_4.0.5.bb [new file with mode: 0644]

diff --git a/recipes/socketcan/canutils.inc b/recipes/socketcan/canutils.inc
new file mode 100644 (file)
index 0000000..596785f
--- /dev/null
@@ -0,0 +1,16 @@
+DESCRIPTION = "canutils (PTX flavour)"
+AUTHOR = "Luotao Fu"
+HOMEPAGE = "http://www.pengutronix.de"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "libsocketcan"
+RCONFLICTS = "socketcan-utils-test"
+INC_PR = "r0"
+
+SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git;tag=${TAG} \
+        "
+
+S = "${WORKDIR}/git"
+
+inherit autotools
diff --git a/recipes/socketcan/canutils_4.0.4.bb b/recipes/socketcan/canutils_4.0.4.bb
new file mode 100644 (file)
index 0000000..9ddb697
--- /dev/null
@@ -0,0 +1,4 @@
+TAG = "canutils-${PV}"
+require canutils.inc
+
+PR = "${INC_PR}.0"
diff --git a/recipes/socketcan/canutils_4.0.5.bb b/recipes/socketcan/canutils_4.0.5.bb
new file mode 100644 (file)
index 0000000..c084bcd
--- /dev/null
@@ -0,0 +1,4 @@
+TAG = "v${PV}"
+require canutils.inc
+
+PR = "${INC_PR}.0"