[oe] [meta-oe][PATCH] libteam: Initial support

Khem Raj raj.khem at gmail.com
Mon May 22 01:48:21 UTC 2017


On Sun, May 21, 2017 at 11:21 AM, Marian Pritsak
<maryan.pricak at gmail.com> wrote:
> libteam is a library for controlling team network device.
> Provides utils package for network device configuration.
>
> Signed-off-by: Marian Pritsak <maryan.pricak at gmail.com>
> ---
>  meta-oe/recipes-support/libteam/libteam_1.26.bb | 33 +++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 meta-oe/recipes-support/libteam/libteam_1.26.bb
>
> diff --git a/meta-oe/recipes-support/libteam/libteam_1.26.bb b/meta-oe/recipes-support/libteam/libteam_1.26.bb
> new file mode 100644
> index 0000000..db1e4a9
> --- /dev/null
> +++ b/meta-oe/recipes-support/libteam/libteam_1.26.bb
> @@ -0,0 +1,33 @@
> +SUMMARY = "Library for controlling team network device"
> +HOMEPAGE = "http://www.libteam.org/"
> +SECTION = "libs/network"
> +
> +PE = "1"

Drop this if this package is new.

> +
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> +
> +DEPENDS = "libnl libdaemon jansson"
> +${PN}-utils_RDEPENDS = "bash"

this looks reversed may be you meant RDEPENDS_${PN}-utils

> +
> +SRC_URI = "git://github.com/jpirko/libteam"
> +SRCREV = "8c1cea00a21950089058e4e33ea1f7bf4deaddeb"
> +
> +SRC_URI[md5sum] = "565114d70c41bff6093d8e57be284e8a"
> +SRC_URI[sha256sum] = "d65286379141db141bea33424ec0507bb0f827a0bf03d9c65004bb593e3d5545"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> +
> +FILES_${PN} = "${libdir}/libteam.so.*"
> +
> +PACKAGES += "${PN}dctl ${PN}-utils"

calling it ${PN}-dctl will make it more readable,

> +FILES_${PN}dctl = "${libdir}/libteamdctl.so.* \
> +"
> +FILES_${PN}-utils = "${bindir}/bond2team \
> +                     ${bindir}/teamd \
> +                     ${bindir}/teamdctl \
> +                     ${bindir}/teamnl \
> +"
> +
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list