blob: 0391deb86ce8a07e6c684195a1c98b1f3f2cf8e6 [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 Bishop23eaf032019-11-20 05:15:02 -05008# enable cxx bindings
9PACKAGECONFIG ?= "cxx"
Brad Bishop15ae2502019-06-18 21:44:24 -040010
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"
Brad Bishop0f291cc2019-09-01 15:16:57 -040015
16inherit python3native
Brad Bishop19323692019-04-05 15:28:33 -040017
18PACKAGES =+ "${PN}-python"
19FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
20RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
21RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"