blob: cabe84107c96f1a1645b93b573e393bdc5b00080 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "A library for applications dealing with netlink sockets"
2HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
3SECTION = "libs/network"
4
5PE = "1"
6PR = "r1"
7
8LICENSE = "LGPLv2.1"
9LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
10
11DEPENDS = "flex-native bison-native"
12
13SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \
14 file://fix-pktloc_syntax_h-race.patch \
15 file://fix-pc-file.patch \
16 "
17
18SRC_URI[md5sum] = "03f74d0cd5037cadc8cdfa313bbd195c"
19SRC_URI[sha256sum] = "8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5"
20
21inherit autotools pkgconfig
22
23FILES_${PN} = "${libdir}/libnl-3.so.* \
24 ${libdir}/libnl.so.* \
25 ${sysconfdir}"
26RREPLACES_${PN} = "libnl2"
27RCONFLICTS_${PN} = "libnl2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028FILES_${PN}-staticdev += "${libdir}/libnl/cli/*/*.a"
29
30PACKAGES += "${PN}-cli ${PN}-route ${PN}-nf ${PN}-genl ${PN}-idiag"
31FILES_${PN}-cli = "${libdir}/libnl-cli-3.so.* \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050032 ${libdir}/libnl/cli/*/*.so \
33 ${libdir}/libnl/cli/*/*.la \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050034 ${sbindir}/nl-*"
35FILES_${PN}-route = "${libdir}/libnl-route-3.so.*"
36FILES_${PN}-idiag = "${libdir}/libnl-idiag-3.so.*"
37FILES_${PN}-nf = "${libdir}/libnl-nf-3.so.*"
38FILES_${PN}-genl = "${libdir}/libnl-genl-3.so.* \
39 ${libdir}/libnl-genl.so.* \
40 ${sbindir}/genl-ctrl-list"
41RREPLACES_${PN}-genl = "libnl-genl2 libnl-genl-3-200"
42RCONFLICTS_${PN}-genl = "libnl-genl2 libnl-genl-3-200"