socketcand: add recipe

Socketcand allows to transfer socketcan messages over tcp/ip.

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jeroen Hofstee
2025-05-21 11:17:21 +02:00
committed by Khem Raj
parent 86a6497270
commit bc16a3b7f3
@@ -0,0 +1,16 @@
SUMMARY = "Socketcand, socketcan over tcp/ip"
LICENSE = "GPL-2.0-only | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause;md5=4c00cf8b0a04a9441d8fa24850231d00 \
file://LICENSES/GPL-2.0-only.txt;md5=f9d20a453221a1b7e32ae84694da2c37 \
"
SRC_URI = "git://github.com/linux-can/socketcand;branch=master;protocol=https"
SRCREV = "998b0394d028e791aa97d549bfc686b4fbadf5ee"
S = "${WORKDIR}/git"
inherit meson pkgconfig
PACKAGECONFIG ?= "libconfig libsocketcan"
PACKAGECONFIG[libconfig] = "-Dlibconfig=true,-Dlibconfig=false,libconfig"
PACKAGECONFIG[libsocketcan] = "-Dlibsocketcan=true,-Dlibsocketcan=false,libsocketcan"