Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [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 | |
| 7 | LICENSE = "LGPLv2.1" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 9 | |
| 10 | DEPENDS = "flex-native bison-native" |
| 11 | |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 12 | SRC_URI = "https://github.com/thom311/${BPN}/releases/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz" |
| 13 | SRC_URI[md5sum] = "74ba57b1b1d6f9f92268aa8141d8e8e4" |
| 14 | SRC_URI[sha256sum] = "352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 15 | |
| 16 | UPSTREAM_CHECK_URI = "https://github.com/thom311/${BPN}/releases" |
| 17 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 18 | inherit autotools pkgconfig |
| 19 | |
| 20 | FILES_${PN} = "${libdir}/libnl-3.so.* \ |
| 21 | ${libdir}/libnl.so.* \ |
| 22 | ${sysconfdir}" |
| 23 | RREPLACES_${PN} = "libnl2" |
| 24 | RCONFLICTS_${PN} = "libnl2" |
| 25 | FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.la" |
| 26 | FILES_${PN}-staticdev += "${libdir}/libnl/cli/*/*.a" |
| 27 | |
| 28 | PACKAGES += "${PN}-cli ${PN}-genl ${PN}-idiag ${PN}-nf ${PN}-route ${PN}-xfrm" |
| 29 | FILES_${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-*" |
| 35 | FILES_${PN}-genl = "${libdir}/libnl-genl-3.so.* \ |
| 36 | ${libdir}/libnl-genl.so.*" |
| 37 | FILES_${PN}-idiag = "${libdir}/libnl-idiag-3.so.*" |
| 38 | FILES_${PN}-nf = "${libdir}/libnl-nf-3.so.*" |
| 39 | FILES_${PN}-route = "${libdir}/libnl-route-3.so.*" |
| 40 | FILES_${PN}-xfrm = "${libdir}/libnl-xfrm-3.so.*" |
| 41 | RREPLACES_${PN}-genl = "libnl-genl2" |
| 42 | RCONFLICTS_${PN}-genl = "libnl-genl2" |