1SUMMARY = "C library and tools for interacting with the linux GPIO character device"
2
3LICENSE = "LGPLv2.1+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
5
6SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
7
8inherit autotools pkgconfig
9
10PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
11
12EXTRA_OECONF = "--enable-tools"
13
14PACKAGES =+ " ${PN}-tools"
15
16FILES_${PN}-tools = "${bindir}/*"
17
18PACKAGES =+ "libgpiodcxx"
19FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
20