blob: f102c7bf8cedfcf46b74a536700f64ce7843081c [file] [log] [blame]
Brad Bishope3278032016-11-09 20:43:11 -05001SUMMARY = "C++ bindings for systemd dbus APIs"
2DESCRIPTION = "C++ bindings for systemd dbus APIs."
Brad Bishope3278032016-11-09 20:43:11 -05003
4inherit autotools pkgconfig
Patrick Williams2a242412020-02-24 16:29:47 -06005inherit obmc-phosphor-python3-autotools
Brad Bishope3278032016-11-09 20:43:11 -05006
Patrick Williams2e595322020-03-31 12:51:05 -05007include sdbusplus-rev.inc
8
Patrick Williams8564d352020-05-19 06:56:04 -05009LICENSE = "Apache-2.0"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
11
12S = "${WORKDIR}/git"
13
Nagaraju Goruganti9940d4f2017-08-22 05:24:26 -050014DEPENDS += " \
15 autoconf-archive-native \
Patrick Williams853ff1b2020-02-24 16:27:10 -060016 ${PYTHON_PN}-inflection-native \
17 ${PYTHON_PN}-mako-native \
18 ${PYTHON_PN}-pyyaml-native \
Nagaraju Goruganti9940d4f2017-08-22 05:24:26 -050019 "
Brad Bishop6b4da622017-01-18 13:59:33 -050020
Patrick Williams1d62d462020-05-19 07:04:55 -050021PACKAGECONFIG ??= "libsdbusplus"
Brad Bishope3278032016-11-09 20:43:11 -050022PACKAGECONFIG[libsdbusplus] = "--enable-libsdbusplus,--disable-libsdbusplus,systemd,libsystemd"
23
Patrick Williams8a35fe12020-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}