blob: f102c7bf8cedfcf46b74a536700f64ce7843081c [file] [log] [blame]
Brad Bishop595edcf2016-11-09 20:43:11 -05001SUMMARY = "C++ bindings for systemd dbus APIs"
2DESCRIPTION = "C++ bindings for systemd dbus APIs."
Brad Bishop595edcf2016-11-09 20:43:11 -05003
4inherit autotools pkgconfig
Patrick Williams11d59722020-02-24 16:29:47 -06005inherit obmc-phosphor-python3-autotools
Brad Bishop595edcf2016-11-09 20:43:11 -05006
Patrick Williams25448842020-03-31 12:51:05 -05007include sdbusplus-rev.inc
8
Patrick Williams1914bbb2020-05-19 06:56:04 -05009LICENSE = "Apache-2.0"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
11
12S = "${WORKDIR}/git"
13
Nagaraju Goruganti78077a52017-08-22 05:24:26 -050014DEPENDS += " \
15 autoconf-archive-native \
Patrick Williams4cd22432020-02-24 16:27:10 -060016 ${PYTHON_PN}-inflection-native \
17 ${PYTHON_PN}-mako-native \
18 ${PYTHON_PN}-pyyaml-native \
Nagaraju Goruganti78077a52017-08-22 05:24:26 -050019 "
Brad Bishop32f0a9a2017-01-18 13:59:33 -050020
Patrick Williams3e137202020-05-19 07:04:55 -050021PACKAGECONFIG ??= "libsdbusplus"
Brad Bishop595edcf2016-11-09 20:43:11 -050022PACKAGECONFIG[libsdbusplus] = "--enable-libsdbusplus,--disable-libsdbusplus,systemd,libsystemd"
23
Patrick Williams7aba8152020-03-31 14:22:32 -050024# Remove unused sdbus++ contents (included in python3-sdbus++ package).
25do_install_append() {
26 rm ${D}/${bindir}/sdbus++
27 rmdir ${D}/${bindir} || true
28 rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}
29 rmdir ${D}/${libdir}/${PYTHON_DIR} || true
30}