mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
266ccace9c
The build works the same for v0.x and v1.x series - leave only the hashes in the .bb file and put everything else into .inc. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Armin Kuster <akuster808@gmail.com>
22 lines
650 B
PHP
22 lines
650 B
PHP
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
|
|
|
|
# enable tools
|
|
PACKAGECONFIG ?= "tools"
|
|
|
|
PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
|
|
PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,"
|
|
|
|
PACKAGES =+ " ${PN}-tools"
|
|
|
|
FILES_${PN}-tools = "${bindir}/*"
|
|
|
|
RRECOMMENDS_TOOLS = "${@bb.utils.contains('PACKAGECONFIG', 'tools', '${PN}-tools', '',d)}"
|
|
RRECOMMENDS_${PN} += "${RRECOMMENDS_TOOLS}"
|