summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libnl/libnl_3.4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libnl/libnl_3.4.0.bb')
-rw-r--r--meta/recipes-support/libnl/libnl_3.4.0.bb46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-support/libnl/libnl_3.4.0.bb b/meta/recipes-support/libnl/libnl_3.4.0.bb
new file mode 100644
index 0000000000..90dc644be4
--- /dev/null
+++ b/meta/recipes-support/libnl/libnl_3.4.0.bb
@@ -0,0 +1,46 @@
1SUMMARY = "A library for applications dealing with netlink sockets"
2HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
3SECTION = "libs/network"
4
5PE = "1"
6
7LICENSE = "LGPLv2.1"
8LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
9
10DEPENDS = "flex-native bison-native"
11
12SRC_URI = "https://github.com/thom311/${BPN}/releases/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz \
13 file://fix-pc-file.patch \
14 file://0001-PATCH-fix-libnl-3.4.0-musl-compile-problem.patch \
15"
16
17UPSTREAM_CHECK_URI = "https://github.com/thom311/${BPN}/releases"
18
19SRC_URI[md5sum] = "8f71910c03db363b41e2ea62057a4311"
20SRC_URI[sha256sum] = "b7287637ae71c6db6f89e1422c995f0407ff2fe50cecd61a312b6a9b0921f5bf"
21
22inherit autotools pkgconfig
23
24FILES_${PN} = "${libdir}/libnl-3.so.* \
25 ${libdir}/libnl.so.* \
26 ${sysconfdir}"
27RREPLACES_${PN} = "libnl2"
28RCONFLICTS_${PN} = "libnl2"
29FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.la"
30FILES_${PN}-staticdev += "${libdir}/libnl/cli/*/*.a"
31
32PACKAGES += "${PN}-cli ${PN}-genl ${PN}-idiag ${PN}-nf ${PN}-route ${PN}-xfrm"
33FILES_${PN}-cli = "${libdir}/libnl-cli-3.so.* \
34 ${libdir}/libnl/cli/*/*.so \
35 ${bindir}/genl-ctrl-list \
36 ${bindir}/idiag-socket-details \
37 ${bindir}/nf-* \
38 ${bindir}/nl-*"
39FILES_${PN}-genl = "${libdir}/libnl-genl-3.so.* \
40 ${libdir}/libnl-genl.so.*"
41FILES_${PN}-idiag = "${libdir}/libnl-idiag-3.so.*"
42FILES_${PN}-nf = "${libdir}/libnl-nf-3.so.*"
43FILES_${PN}-route = "${libdir}/libnl-route-3.so.*"
44FILES_${PN}-xfrm = "${libdir}/libnl-xfrm-3.so.*"
45RREPLACES_${PN}-genl = "libnl-genl2"
46RCONFLICTS_${PN}-genl = "libnl-genl2"