Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | SUMMARY = "C library and tools for interacting with the linux GPIO character device" |
| 2 | |
| 3 | LICENSE = "LGPLv2.1+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de" |
| 5 | |
| 6 | SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz" |
| 7 | |
| 8 | SRC_URI[md5sum] = "5f9d855352b1a5272cf6f1c2e20689d2" |
| 9 | SRC_URI[sha256sum] = "6dfd6aeb544e8b7baf484a05c9ae0e67022c109362a41d87005393046b6beacf" |
| 10 | |
| 11 | PV = "0.3.1" |
| 12 | |
| 13 | inherit autotools pkgconfig |
| 14 | |
| 15 | # enable tools |
| 16 | PACKAGECONFIG ?= "tools" |
| 17 | |
| 18 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" |
| 19 | PACKAGECONFIG[tools] = "--enable-tools,--disable-tools," |
| 20 | |
| 21 | PACKAGES += " ${PN}-tools" |
| 22 | |
| 23 | FILES_${PN}-tools = "${bindir}/*" |