blob: b9e17fc52d9a920188d20c99fa9dcd36cd4df823 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
SUMMARY = "C++ bindings for systemd dbus APIs"
DESCRIPTION = "C++ bindings for systemd dbus APIs."
inherit autotools pkgconfig
inherit obmc-phosphor-python3-autotools
include sdbusplus-rev.inc
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
S = "${WORKDIR}/git"
DEPENDS += " \
autoconf-archive-native \
${PYTHON_PN}-inflection-native \
${PYTHON_PN}-mako-native \
${PYTHON_PN}-pyyaml-native \
"
PACKAGECONFIG ??= "libsdbusplus transaction"
PACKAGECONFIG[libsdbusplus] = "--enable-libsdbusplus,--disable-libsdbusplus,systemd,libsystemd"
PACKAGECONFIG[transaction] = "--enable-transaction,--disable-transaction"
# Remove unused sdbus++ contents (included in python3-sdbus++ package).
do_install_append() {
rm ${D}/${bindir}/sdbus++
rmdir ${D}/${bindir} || true
rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}
rmdir ${D}/${libdir}/${PYTHON_DIR} || true
}
|