diff options
Diffstat (limited to 'meta-oe/recipes-support/libteam/libteam_1.32.bb')
-rw-r--r-- | meta-oe/recipes-support/libteam/libteam_1.32.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libteam/libteam_1.32.bb b/meta-oe/recipes-support/libteam/libteam_1.32.bb new file mode 100644 index 000000000..508cbb13b --- /dev/null +++ b/meta-oe/recipes-support/libteam/libteam_1.32.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "Library for controlling team network device" | ||
2 | HOMEPAGE = "http://www.libteam.org/" | ||
3 | SECTION = "libs/network" | ||
4 | |||
5 | LICENSE = "LGPL-2.1-only" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
7 | |||
8 | DEPENDS = "libnl libdaemon jansson" | ||
9 | |||
10 | SRC_URI = "git://github.com/jpirko/libteam;branch=master;protocol=https \ | ||
11 | file://0002-teamd-Re-adjust-include-header-order.patch \ | ||
12 | file://0001-team_basic_test.py-disable-RedHat-specific-test.patch \ | ||
13 | file://0001-team_basic_test.py-switch-to-python3.patch \ | ||
14 | file://0001-team_basic_test.py-check-the-return-value.patch \ | ||
15 | file://0001-teamd-Pass-correct-parameter-type-to-accept-API.patch \ | ||
16 | file://run-ptest \ | ||
17 | " | ||
18 | SRCREV = "8b843e93cee1dab61fb79b01791201cdad45e1d1" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit autotools pkgconfig ptest | ||
23 | |||
24 | FILES:${PN} = "${libdir}/libteam${SOLIBS} \ | ||
25 | " | ||
26 | |||
27 | PACKAGES += "${PN}-dctl ${PN}-utils" | ||
28 | FILES:${PN}-dctl = "${libdir}/libteamdctl${SOLIBS} \ | ||
29 | " | ||
30 | FILES:${PN}-utils = "${bindir}/bond2team \ | ||
31 | ${bindir}/teamd \ | ||
32 | ${bindir}/teamdctl \ | ||
33 | ${bindir}/teamnl \ | ||
34 | " | ||
35 | |||
36 | RDEPENDS:${PN}-utils = "bash" | ||
37 | RDEPENDS:${PN}-ptest = "python3-core libteam-utils" | ||
38 | # Ensure kernel has these mods enabled features/net/team/team.scc | ||
39 | RRECOMMENDS:${PN} += "kernel-module-team kernel-module-team-mode-activebackup \ | ||
40 | kernel-module-team-mode-broadcast \ | ||
41 | kernel-module-team-mode-loadbalance \ | ||
42 | kernel-module-team-mode-random \ | ||
43 | kernel-module-team-mode-roundrobin" | ||
44 | |||
45 | do_install_ptest() { | ||
46 | install ${S}/scripts/team_basic_test.py ${D}${PTEST_PATH}/ | ||
47 | } | ||