diff options
Diffstat (limited to 'meta-oe/recipes-extended/tipcutils/tipcutils_git.bb')
-rw-r--r-- | meta-oe/recipes-extended/tipcutils/tipcutils_git.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb index 596aa260e7..a4bf3eaaca 100644 --- a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb +++ b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb | |||
@@ -3,6 +3,7 @@ LICENSE = "GPL-2.0-only" | |||
3 | LIC_FILES_CHKSUM = "file://tipclog/tipc.h;endline=35;md5=985b6ea8735818511d276c1b466cce98" | 3 | LIC_FILES_CHKSUM = "file://tipclog/tipc.h;endline=35;md5=985b6ea8735818511d276c1b466cce98" |
4 | 4 | ||
5 | SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \ | 5 | SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \ |
6 | file://tipcutils.conf \ | ||
6 | file://0001-include-sys-select.h-for-FD_-definitions.patch \ | 7 | file://0001-include-sys-select.h-for-FD_-definitions.patch \ |
7 | file://0002-replace-non-standard-uint-with-unsigned-int.patch \ | 8 | file://0002-replace-non-standard-uint-with-unsigned-int.patch \ |
8 | file://0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch \ | 9 | file://0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch \ |
@@ -11,13 +12,12 @@ SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \ | |||
11 | SRCREV = "7ab2211b87414ba240b0b2e4af219c1057c9cf9a" | 12 | SRCREV = "7ab2211b87414ba240b0b2e4af219c1057c9cf9a" |
12 | PV = "2.2.0+git" | 13 | PV = "2.2.0+git" |
13 | 14 | ||
14 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig systemd |
15 | 16 | ||
16 | DEPENDS += "libdaemon" | 17 | DEPENDS += "libdaemon" |
17 | 18 | ||
18 | RDEPENDS:${PN} = "iproute2-tipc" | 19 | RDEPENDS:${PN} = "iproute2-tipc" |
19 | 20 | ||
20 | S = "${WORKDIR}/git" | ||
21 | 21 | ||
22 | do_configure:prepend() { | 22 | do_configure:prepend() { |
23 | ( cd ${S}; ${S}/bootstrap ) | 23 | ( cd ${S}; ${S}/bootstrap ) |
@@ -41,8 +41,16 @@ do_install:append() { | |||
41 | install -d ${D}${sysconfdir} | 41 | install -d ${D}${sysconfdir} |
42 | cp -R --no-dereference --preserve=mode,links -v ${S}/scripts/etc/* ${D}${sysconfdir}/ | 42 | cp -R --no-dereference --preserve=mode,links -v ${S}/scripts/etc/* ${D}${sysconfdir}/ |
43 | chown -R root:root ${D}${sysconfdir} | 43 | chown -R root:root ${D}${sysconfdir} |
44 | |||
45 | # Install systemd related configuration file | ||
46 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
47 | install -d ${D}${sysconfdir}/modules-load.d | ||
48 | install -m 0644 ${UNPACKDIR}/tipcutils.conf ${D}${sysconfdir}/modules-load.d | ||
49 | fi | ||
44 | } | 50 | } |
45 | 51 | ||
52 | SYSTEMD_SERVICE:${PN} = "" | ||
53 | |||
46 | PACKAGES += "${PN}-demos" | 54 | PACKAGES += "${PN}-demos" |
47 | FILES:${PN}-dbg += "/opt/tipcutils/demos/*/.debug /opt/tipcutils/ptts/.debug" | 55 | FILES:${PN}-dbg += "/opt/tipcutils/demos/*/.debug /opt/tipcutils/ptts/.debug" |
48 | FILES:${PN}-demos = "/opt/tipcutils/*" | 56 | FILES:${PN}-demos = "/opt/tipcutils/*" |