blob: 756b143ef70bb4829731da161b0469dda1e73237 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001require libgpiod.inc
2
3DEPENDS += "autoconf-archive-native"
4
Brad Bishop26bdd442019-08-16 17:08:17 -04005SRC_URI[md5sum] = "585b4bb431f99c4ba9b3ee58b9d494c1"
6SRC_URI[sha256sum] = "21ae8fd1f8dafc2eb2ba50e652390cf533d21351419a7426255895cb52e21b1c"
Brad Bishop19323692019-04-05 15:28:33 -04007
Brad Bishop15ae2502019-06-18 21:44:24 -04008# enable tools and cxx bindings
9PACKAGECONFIG ?= "cxx tools"
10
Brad Bishop19323692019-04-05 15:28:33 -040011PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
Brad Bishopc8f47122019-06-24 09:36:18 -040012PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
Brad Bishop19323692019-04-05 15:28:33 -040013
14PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3"
15inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}
16
17PACKAGES =+ "${PN}-python"
18FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
19RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
20RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"