[oe] [PATCH 1/2] libsocketcan: recipe to build pengutronix' libsocketcan (netlink interface)

Vitus Jensen vjensen at gmx.de
Fri Apr 16 17:15:53 UTC 2010


Signed-off-by: Vitus Jensen <vjensen at gmx.de>
---
 recipes/socketcan/libsocketcan_0.0.7.bb |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 recipes/socketcan/libsocketcan_0.0.7.bb

diff --git a/recipes/socketcan/libsocketcan_0.0.7.bb b/recipes/socketcan/libsocketcan_0.0.7.bb
new file mode 100644
index 0000000..f23cbdc
--- /dev/null
+++ b/recipes/socketcan/libsocketcan_0.0.7.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "control basic functions in socketcan from userspace"
+AUTHOR = "Luotao Fu"
+HOMEPAGE = "http://www.pengutronix.de"
+SECTION = "libs/network"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+
+TAG = "v${PV}"
+PR = "r0"
+
+SRC_URI = "git://git.pengutronix.de/git/tools/libsocketcan.git;protocol=git;tag=${TAG} \
+        "
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+do_stage () {
+	install -m 0644 include/libsocketcan.h ${STAGING_INCDIR}/
+	install -m 0644 include/can_netlink.h ${STAGING_INCDIR}/
+	oe_libinstall -a -so libsocketcan ${STAGING_LIBDIR}
+}
-- 
1.5.6.5






More information about the Openembedded-devel mailing list