blob: 97814fb1344a69d1cfda4e6dd60415ba82592374 [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"
28FILES_${PN}-dbg += "${libdir}/libnl/cli/*/.debug"
29FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.so \
30 ${libdir}/libnl/cli/*/*.la"
31FILES_${PN}-staticdev += "${libdir}/libnl/cli/*/*.a"
32
33PACKAGES += "${PN}-cli ${PN}-route ${PN}-nf ${PN}-genl ${PN}-idiag"
34FILES_${PN}-cli = "${libdir}/libnl-cli-3.so.* \
35 ${libdir}/libnl/cli/*/*.so.* \
36 ${sbindir}/nl-*"
37FILES_${PN}-route = "${libdir}/libnl-route-3.so.*"
38FILES_${PN}-idiag = "${libdir}/libnl-idiag-3.so.*"
39FILES_${PN}-nf = "${libdir}/libnl-nf-3.so.*"
40FILES_${PN}-genl = "${libdir}/libnl-genl-3.so.* \
41 ${libdir}/libnl-genl.so.* \
42 ${sbindir}/genl-ctrl-list"
43RREPLACES_${PN}-genl = "libnl-genl2 libnl-genl-3-200"
44RCONFLICTS_${PN}-genl = "libnl-genl2 libnl-genl-3-200"