Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | PR = "r1" |
| 7 | |
| 8 | LICENSE = "LGPLv2.1" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 10 | |
| 11 | DEPENDS = "flex-native bison-native" |
| 12 | |
| 13 | SRC_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 | |
| 18 | SRC_URI[md5sum] = "03f74d0cd5037cadc8cdfa313bbd195c" |
| 19 | SRC_URI[sha256sum] = "8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5" |
| 20 | |
| 21 | inherit autotools pkgconfig |
| 22 | |
| 23 | FILES_${PN} = "${libdir}/libnl-3.so.* \ |
| 24 | ${libdir}/libnl.so.* \ |
| 25 | ${sysconfdir}" |
| 26 | RREPLACES_${PN} = "libnl2" |
| 27 | RCONFLICTS_${PN} = "libnl2" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | FILES_${PN}-staticdev += "${libdir}/libnl/cli/*/*.a" |
| 29 | |
| 30 | PACKAGES += "${PN}-cli ${PN}-route ${PN}-nf ${PN}-genl ${PN}-idiag" |
| 31 | FILES_${PN}-cli = "${libdir}/libnl-cli-3.so.* \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 32 | ${libdir}/libnl/cli/*/*.so \ |
| 33 | ${libdir}/libnl/cli/*/*.la \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 34 | ${sbindir}/nl-*" |
| 35 | FILES_${PN}-route = "${libdir}/libnl-route-3.so.*" |
| 36 | FILES_${PN}-idiag = "${libdir}/libnl-idiag-3.so.*" |
| 37 | FILES_${PN}-nf = "${libdir}/libnl-nf-3.so.*" |
| 38 | FILES_${PN}-genl = "${libdir}/libnl-genl-3.so.* \ |
| 39 | ${libdir}/libnl-genl.so.* \ |
| 40 | ${sbindir}/genl-ctrl-list" |
| 41 | RREPLACES_${PN}-genl = "libnl-genl2 libnl-genl-3-200" |
| 42 | RCONFLICTS_${PN}-genl = "libnl-genl2 libnl-genl-3-200" |