diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-09-13 17:34:29 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-14 09:19:37 +0100 |
| commit | 7eb5354fc316f10240f640fb34c97fcfec7e38ac (patch) | |
| tree | d32fdb568624c8f16710137d96661f52b39cbfc3 /meta/recipes-support/libnl/libnl_3.8.0.bb | |
| parent | 5ff3078fa3324c69f5ce1548ecfdc60367d6d90b (diff) | |
| download | poky-7eb5354fc316f10240f640fb34c97fcfec7e38ac.tar.gz | |
libnl: upgrade 3.7.0 -> 3.8.0
(From OE-Core rev: c2fd3f88c8c0eaf4a636843ad8671faf24faf503)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libnl/libnl_3.8.0.bb')
| -rw-r--r-- | meta/recipes-support/libnl/libnl_3.8.0.bb | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-support/libnl/libnl_3.8.0.bb b/meta/recipes-support/libnl/libnl_3.8.0.bb new file mode 100644 index 0000000000..28b2e5733e --- /dev/null +++ b/meta/recipes-support/libnl/libnl_3.8.0.bb | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | SUMMARY = "A library for applications dealing with netlink sockets" | ||
| 2 | DESCRIPTION = "The libnl suite is a collection of libraries providing \ | ||
| 3 | APIs to netlink protocol based Linux kernel interfaces. libnl is the core \ | ||
| 4 | library implementing the fundamentals required to use the netlink protocol \ | ||
| 5 | such as socket handling, message construction and parsing, and sending \ | ||
| 6 | and receiving of data." | ||
| 7 | HOMEPAGE = "http://www.infradead.org/~tgr/libnl/" | ||
| 8 | SECTION = "libs/network" | ||
| 9 | |||
| 10 | PE = "1" | ||
| 11 | |||
| 12 | LICENSE = "LGPL-2.1-only" | ||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 14 | |||
| 15 | DEPENDS = "flex-native bison-native" | ||
| 16 | |||
| 17 | SRC_URI = "${GITHUB_BASE_URI}/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz \ | ||
| 18 | file://run-ptest \ | ||
| 19 | " | ||
| 20 | |||
| 21 | SRC_URI[sha256sum] = "bb726c6d7a08b121978d73ff98425bf313fa26a27a331d465e4f1d7ec5b838c6" | ||
| 22 | |||
| 23 | GITHUB_BASE_URI = "https://github.com/thom311/${BPN}/releases" | ||
| 24 | UPSTREAM_CHECK_REGEX = "releases/tag/libnl(?P<pver>.+)" | ||
| 25 | |||
| 26 | inherit autotools pkgconfig ptest github-releases | ||
| 27 | |||
| 28 | FILES:${PN} = "${libdir}/libnl-3.so.* \ | ||
| 29 | ${libdir}/libnl.so.* \ | ||
| 30 | ${sysconfdir}" | ||
| 31 | RREPLACES:${PN} = "libnl2" | ||
| 32 | RCONFLICTS:${PN} = "libnl2" | ||
| 33 | |||
| 34 | FILES:${PN}-dev += "${libdir}/libnl/cli/*/*.la" | ||
| 35 | FILES:${PN}-staticdev += "${libdir}/libnl/cli/*/*.a" | ||
| 36 | |||
| 37 | PACKAGES += "${PN}-cli ${PN}-genl ${PN}-idiag ${PN}-nf ${PN}-route ${PN}-xfrm" | ||
| 38 | FILES:${PN}-cli = "${libdir}/libnl-cli-3.so.* \ | ||
| 39 | ${libdir}/libnl/cli/*/*.so \ | ||
| 40 | ${bindir}/genl-ctrl-list \ | ||
| 41 | ${bindir}/idiag-socket-details \ | ||
| 42 | ${bindir}/nf-* \ | ||
| 43 | ${bindir}/nl-*" | ||
| 44 | FILES:${PN}-genl = "${libdir}/libnl-genl-3.so.* \ | ||
| 45 | ${libdir}/libnl-genl.so.*" | ||
| 46 | FILES:${PN}-idiag = "${libdir}/libnl-idiag-3.so.*" | ||
| 47 | FILES:${PN}-nf = "${libdir}/libnl-nf-3.so.*" | ||
| 48 | FILES:${PN}-route = "${libdir}/libnl-route-3.so.*" | ||
| 49 | FILES:${PN}-xfrm = "${libdir}/libnl-xfrm-3.so.*" | ||
| 50 | RREPLACES:${PN}-genl = "libnl-genl2" | ||
| 51 | RCONFLICTS:${PN}-genl = "libnl-genl2" | ||
| 52 | |||
| 53 | DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'libcheck', '', d)}" | ||
| 54 | RRECOMMENDS:${PN}-ptest += "kernel-module-dummy kernel-module-bonding" | ||
| 55 | |||
| 56 | do_compile_ptest() { | ||
| 57 | oe_runmake ./tests/check-all | ||
| 58 | } | ||
| 59 | |||
| 60 | do_install_ptest() { | ||
| 61 | ./libtool install install ./tests/check-all ${D}${PTEST_PATH}/ | ||
| 62 | } | ||
| 63 | |||
| 64 | BBCLASSEXTEND = "native nativesdk" | ||
