summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/mctp/mctp_1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/mctp/mctp_1.1.bb')
-rw-r--r--meta-networking/recipes-support/mctp/mctp_1.1.bb42
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 @@
1SUMMARY = "Management Component Control Protocol utilities"
2HOMEPAGE = "http://www.github.com/CodeConstruct/mctp"
3SECTION = "net"
4LICENSE = "GPL-2.0-only"
5
6LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"
7
8SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f"
9
10SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
11
12S = "${WORKDIR}/git"
13
14inherit meson pkgconfig systemd
15
16PACKAGECONFIG ??= " \
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.
22PACKAGECONFIG[systemd] = ",,systemd,libsystemd"
23SYSTEMD_SERVICE:${PN} = "mctpd.service mctp.target mctp-local.target"
24SYSTEMD_AUTO_ENABLE:${PN} = "enable"
25
26do_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
39FILES:${PN} += " \
40 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', \
41 '${datadir}/dbus-1/system.d/mctpd.conf', '', d)} \
42"