diff options
Diffstat (limited to 'meta/recipes-support/libnl/libnl_3.4.0.bb')
-rw-r--r-- | meta/recipes-support/libnl/libnl_3.4.0.bb | 46 |
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 @@ | |||
1 | SUMMARY = "A library for applications dealing with netlink sockets" | ||
2 | HOMEPAGE = "http://www.infradead.org/~tgr/libnl/" | ||
3 | SECTION = "libs/network" | ||
4 | |||
5 | PE = "1" | ||
6 | |||
7 | LICENSE = "LGPLv2.1" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
9 | |||
10 | DEPENDS = "flex-native bison-native" | ||
11 | |||
12 | SRC_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 | |||
17 | UPSTREAM_CHECK_URI = "https://github.com/thom311/${BPN}/releases" | ||
18 | |||
19 | SRC_URI[md5sum] = "8f71910c03db363b41e2ea62057a4311" | ||
20 | SRC_URI[sha256sum] = "b7287637ae71c6db6f89e1422c995f0407ff2fe50cecd61a312b6a9b0921f5bf" | ||
21 | |||
22 | inherit autotools pkgconfig | ||
23 | |||
24 | FILES_${PN} = "${libdir}/libnl-3.so.* \ | ||
25 | ${libdir}/libnl.so.* \ | ||
26 | ${sysconfdir}" | ||
27 | RREPLACES_${PN} = "libnl2" | ||
28 | RCONFLICTS_${PN} = "libnl2" | ||
29 | FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.la" | ||
30 | FILES_${PN}-staticdev += "${libdir}/libnl/cli/*/*.a" | ||
31 | |||
32 | PACKAGES += "${PN}-cli ${PN}-genl ${PN}-idiag ${PN}-nf ${PN}-route ${PN}-xfrm" | ||
33 | FILES_${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-*" | ||
39 | FILES_${PN}-genl = "${libdir}/libnl-genl-3.so.* \ | ||
40 | ${libdir}/libnl-genl.so.*" | ||
41 | FILES_${PN}-idiag = "${libdir}/libnl-idiag-3.so.*" | ||
42 | FILES_${PN}-nf = "${libdir}/libnl-nf-3.so.*" | ||
43 | FILES_${PN}-route = "${libdir}/libnl-route-3.so.*" | ||
44 | FILES_${PN}-xfrm = "${libdir}/libnl-xfrm-3.so.*" | ||
45 | RREPLACES_${PN}-genl = "libnl-genl2" | ||
46 | RCONFLICTS_${PN}-genl = "libnl-genl2" | ||