blob: cae3145dd0774371a2b1130b94e88ae1f4ff3a8e [file] [log] [blame]
SUMMARY = "C library and tools for interacting with the linux GPIO character device"
LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
inherit autotools pkgconfig
PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
EXTRA_OECONF = "--enable-tools"
PACKAGES =+ " ${PN}-tools"
FILES_${PN}-tools = "${bindir}/*"
PACKAGES =+ "libgpiodcxx"
FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"