diff options
Diffstat (limited to 'meta-networking/recipes-support/mctp/mctp_1.1.bb')
-rw-r--r-- | meta-networking/recipes-support/mctp/mctp_1.1.bb | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta-networking/recipes-support/mctp/mctp_1.1.bb b/meta-networking/recipes-support/mctp/mctp_1.1.bb deleted file mode 100644 index bf3961be42..0000000000 --- a/meta-networking/recipes-support/mctp/mctp_1.1.bb +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | SUMMARY = "Management Component Control Protocol utilities" | ||
2 | HOMEPAGE = "http://www.github.com/CodeConstruct/mctp" | ||
3 | SECTION = "net" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" | ||
7 | |||
8 | SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" | ||
9 | |||
10 | SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | inherit meson pkgconfig systemd | ||
15 | |||
16 | PACKAGECONFIG ??= " \ | ||
17 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | ||
18 | " | ||
19 | |||
20 | # mctpd will only be built if pkg-config detects libsystemd; in which case | ||
21 | # we'll want to declare the dep and install the service. | ||
22 | PACKAGECONFIG[systemd] = ",,systemd,libsystemd" | ||
23 | SYSTEMD_SERVICE:${PN} = "mctpd.service mctp.target mctp-local.target" | ||
24 | SYSTEMD_AUTO_ENABLE:${PN} = "enable" | ||
25 | |||
26 | do_install:append () { | ||
27 | if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then | ||
28 | install -d ${D}${systemd_system_unitdir} | ||
29 | install -m 0644 ${S}/conf/mctpd.service \ | ||
30 | ${D}${systemd_system_unitdir}/mctpd.service | ||
31 | install -m 0644 ${S}/conf/*.target \ | ||
32 | ${D}${systemd_system_unitdir}/ | ||
33 | install -d ${D}${datadir}/dbus-1/system.d | ||
34 | install -m 0644 ${S}/conf/mctpd-dbus.conf \ | ||
35 | ${D}${datadir}/dbus-1/system.d/mctpd.conf | ||
36 | fi | ||
37 | } | ||
38 | |||
39 | FILES:${PN} += " \ | ||
40 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', \ | ||
41 | '${datadir}/dbus-1/system.d/mctpd.conf', '', d)} \ | ||
42 | " | ||