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