mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
58 lines
2.0 KiB
BlitzBasic
58 lines
2.0 KiB
BlitzBasic
SUMMARY = "Transparent Inter-Process Communication protocol"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://tipclog/tipc.h;endline=35;md5=985b6ea8735818511d276c1b466cce98"
|
|
|
|
SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \
|
|
file://tipcutils.conf \
|
|
file://0001-include-sys-select.h-for-FD_-definitions.patch \
|
|
file://0002-replace-non-standard-uint-with-unsigned-int.patch \
|
|
file://0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch \
|
|
file://0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch \
|
|
"
|
|
SRCREV = "7ab2211b87414ba240b0b2e4af219c1057c9cf9a"
|
|
PV = "2.2.0+git"
|
|
|
|
inherit autotools pkgconfig systemd
|
|
|
|
DEPENDS += "libdaemon"
|
|
|
|
RDEPENDS:${PN} = "iproute2-tipc"
|
|
|
|
|
|
do_configure:prepend() {
|
|
( cd ${S}; ${S}/bootstrap )
|
|
}
|
|
|
|
do_install:append() {
|
|
demos="benchmark hello_world topology_subscr_demo connection_demo \
|
|
multicast_demo stream_demo"
|
|
for i in $demos;do
|
|
install -d ${D}/opt/tipcutils/demos/$i
|
|
install ${B}/demos/$i/client_tipc ${D}/opt/tipcutils/demos/$i/
|
|
install ${B}/demos/$i/server_tipc ${D}/opt/tipcutils/demos/$i/
|
|
done
|
|
install -d ${D}/opt/tipcutils/demos/inventory_sim
|
|
install ${B}/demos/inventory_sim/inventory_sim ${D}/opt/tipcutils/demos/inventory_sim/
|
|
|
|
install -d ${D}/opt/tipcutils/ptts
|
|
install ${B}/ptts/tipcTS ${D}/opt/tipcutils/ptts/
|
|
install ${B}/ptts/tipcTC ${D}/opt/tipcutils/ptts/
|
|
|
|
install -d ${D}${sysconfdir}
|
|
cp -R --no-dereference --preserve=mode,links -v ${S}/scripts/etc/* ${D}${sysconfdir}/
|
|
chown -R root:root ${D}${sysconfdir}
|
|
|
|
# Install systemd related configuration file
|
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
|
install -d ${D}${sysconfdir}/modules-load.d
|
|
install -m 0644 ${UNPACKDIR}/tipcutils.conf ${D}${sysconfdir}/modules-load.d
|
|
fi
|
|
}
|
|
|
|
SYSTEMD_SERVICE:${PN} = ""
|
|
|
|
PACKAGES += "${PN}-demos"
|
|
FILES:${PN}-dbg += "/opt/tipcutils/demos/*/.debug /opt/tipcutils/ptts/.debug"
|
|
FILES:${PN}-demos = "/opt/tipcutils/*"
|
|
|