blob: a131de36c25ec5c8b1008d134144ae4abbf1aea3 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Library for controlling team network device"
2HOMEPAGE = "http://www.libteam.org/"
3SECTION = "libs/network"
4
5LICENSE = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
7
8DEPENDS = "libnl libdaemon jansson"
9
10SRC_URI = "git://github.com/jpirko/libteam \
11 file://0001-include-sys-select.h-for-fd_set-definition.patch \
12 file://0002-teamd-Re-adjust-include-header-order.patch \
13 file://0001-team_basic_test.py-disable-RedHat-specific-test.patch \
14 file://0001-team_basic_test.py-use-python3-interpreter.patch \
15 file://run-ptest \
16 "
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050017SRCREV = "3ee12c6d569977cf1cd30d0da77807a07aa77158"
Andrew Geissler82c905d2020-04-13 13:39:40 -050018
19S = "${WORKDIR}/git"
20
21inherit autotools pkgconfig ptest
22
Patrick Williams213cb262021-08-07 19:21:33 -050023FILES:${PN} = "${libdir}/libteam${SOLIBS} \
Andrew Geissler82c905d2020-04-13 13:39:40 -050024"
25
26PACKAGES += "${PN}-dctl ${PN}-utils"
Patrick Williams213cb262021-08-07 19:21:33 -050027FILES:${PN}-dctl = "${libdir}/libteamdctl${SOLIBS} \
Andrew Geissler82c905d2020-04-13 13:39:40 -050028"
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN}-utils = "${bindir}/bond2team \
Andrew Geissler82c905d2020-04-13 13:39:40 -050030 ${bindir}/teamd \
31 ${bindir}/teamdctl \
32 ${bindir}/teamnl \
33"
34
Patrick Williams213cb262021-08-07 19:21:33 -050035RDEPENDS:${PN}-utils = "bash"
36RDEPENDS:${PN}-ptest = "python3-core"
Andrew Geissler82c905d2020-04-13 13:39:40 -050037
38do_install_ptest() {
39 install ${S}/scripts/team_basic_test.py ${D}${PTEST_PATH}/
40}