blob: c0609c4d900e2be39172e1c5b21b6370bbc5ee2d [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "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
Brad Bishop79641f22019-09-10 07:20:22 -040012SRC_URI = "https://github.com/thom311/${BPN}/releases/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz"
13SRC_URI[md5sum] = "74ba57b1b1d6f9f92268aa8141d8e8e4"
14SRC_URI[sha256sum] = "352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa"
Brad Bishop316dfdd2018-06-25 12:45:53 -040015
16UPSTREAM_CHECK_URI = "https://github.com/thom311/${BPN}/releases"
17
Brad Bishop316dfdd2018-06-25 12:45:53 -040018inherit autotools pkgconfig
19
20FILES_${PN} = "${libdir}/libnl-3.so.* \
21 ${libdir}/libnl.so.* \
22 ${sysconfdir}"
23RREPLACES_${PN} = "libnl2"
24RCONFLICTS_${PN} = "libnl2"
25FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.la"
26FILES_${PN}-staticdev += "${libdir}/libnl/cli/*/*.a"
27
28PACKAGES += "${PN}-cli ${PN}-genl ${PN}-idiag ${PN}-nf ${PN}-route ${PN}-xfrm"
29FILES_${PN}-cli = "${libdir}/libnl-cli-3.so.* \
30 ${libdir}/libnl/cli/*/*.so \
31 ${bindir}/genl-ctrl-list \
32 ${bindir}/idiag-socket-details \
33 ${bindir}/nf-* \
34 ${bindir}/nl-*"
35FILES_${PN}-genl = "${libdir}/libnl-genl-3.so.* \
36 ${libdir}/libnl-genl.so.*"
37FILES_${PN}-idiag = "${libdir}/libnl-idiag-3.so.*"
38FILES_${PN}-nf = "${libdir}/libnl-nf-3.so.*"
39FILES_${PN}-route = "${libdir}/libnl-route-3.so.*"
40FILES_${PN}-xfrm = "${libdir}/libnl-xfrm-3.so.*"
41RREPLACES_${PN}-genl = "libnl-genl2"
42RCONFLICTS_${PN}-genl = "libnl-genl2"