blob: 821ca19380a0baa2e63ce67e5a87e16eaa08de63 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "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://run-ptest \
15 "
Brad Bishop4fe7a132019-10-07 09:34:48 -040016SRCREV = "e897f02bf2403d4859a99e090e34ea768b4c0540"
Brad Bishop19323692019-04-05 15:28:33 -040017
18S = "${WORKDIR}/git"
19
20inherit autotools pkgconfig ptest
21
22FILES_${PN} = "${libdir}/libteam${SOLIBS} \
23"
24
25PACKAGES += "${PN}-dctl ${PN}-utils"
26FILES_${PN}-dctl = "${libdir}/libteamdctl${SOLIBS} \
27"
28FILES_${PN}-utils = "${bindir}/bond2team \
29 ${bindir}/teamd \
30 ${bindir}/teamdctl \
31 ${bindir}/teamnl \
32"
33
34RDEPENDS_${PN}-utils = "bash"
35RDEPENDS_${PN}-ptest = "python"
36
37do_install_ptest() {
38 install ${S}/scripts/team_basic_test.py ${D}${PTEST_PATH}/
39}