[oe] [PATCH v2] canutils: new recipe

Vitus Jensen vjensen at gmx.de
Sat May 1 14:22:47 UTC 2010


Adds canutils (PTX flavour) 4.0.4 as alternative to socketcan-utils-test.
canutils RCONFLICTS with socketcan-utils-test because of identical
file names.

Signed-off-by: Vitus Jensen <vjensen at gmx.de>
---
 recipes/socketcan/canutils_4.0.4.bb           |   19 +++++++++++++++++++
 recipes/socketcan/socketcan-utils-test_svn.bb |    1 +
 2 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 recipes/socketcan/canutils_4.0.4.bb

diff --git a/recipes/socketcan/canutils_4.0.4.bb b/recipes/socketcan/canutils_4.0.4.bb
new file mode 100644
index 0000000..e769c46
--- /dev/null
+++ b/recipes/socketcan/canutils_4.0.4.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "canutils (PTX flavour)"
+AUTHOR = "Luotao Fu"
+HOMEPAGE = "http://www.pengutronix.de"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "libsocketcan"
+RDEPENDS = "libsocketcan"
+RCONFLICTS = "socketcan-utils-test"
+
+TAG = "canutils-${PV}"
+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/socketcan-utils-test_svn.bb b/recipes/socketcan/socketcan-utils-test_svn.bb
index ca4c23a..20bd5ac 100644
--- a/recipes/socketcan/socketcan-utils-test_svn.bb
+++ b/recipes/socketcan/socketcan-utils-test_svn.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "Socketcan user space utilities and test apps"
 HOMEPAGE = "http://developer.berlios.de/projects/socketcan/"
 SECTION = "console/utils"
 LICENSE = "GPL"
+RCONFLICTS = "canutils"
 
 SRCREV = "917"
 PV = "0.0+svnr${SRCPV}"
-- 
1.5.6.5





More information about the Openembedded-devel mailing list