[oe-commits] Vitus Jensen : canutils: new recipes

git version control git at git.openembedded.org
Thu Jun 3 19:52:49 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 1d1fbd94ec2dcc8a5f5f35eaa6e76a7624a55f2c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1d1fbd94ec2dcc8a5f5f35eaa6e76a7624a55f2c

Author: Vitus Jensen <vjensen at gmx.de>
Date:   Fri May 21 04:38:05 2010 +0000

canutils: new recipes

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 at gmx.de>
Signed-off-by: Eric Bénard <eric at eukrea.com>

---

 recipes/socketcan/canutils.inc      |   16 ++++++++++++++++
 recipes/socketcan/canutils_4.0.4.bb |    4 ++++
 recipes/socketcan/canutils_4.0.5.bb |    4 ++++
 3 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/recipes/socketcan/canutils.inc b/recipes/socketcan/canutils.inc
new file mode 100644
index 0000000..596785f
--- /dev/null
+++ b/recipes/socketcan/canutils.inc
@@ -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
index 0000000..9ddb697
--- /dev/null
+++ b/recipes/socketcan/canutils_4.0.4.bb
@@ -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
index 0000000..c084bcd
--- /dev/null
+++ b/recipes/socketcan/canutils_4.0.5.bb
@@ -0,0 +1,4 @@
+TAG = "v${PV}"
+require canutils.inc
+
+PR = "${INC_PR}.0"





More information about the Openembedded-commits mailing list