libnl: drop 2.0 and git recipes, now there is usable in oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Martin Jansa
2011-11-07 14:38:32 +00:00
committed by Koen Kooi
parent 37b7c23afc
commit 3112dceb46
4 changed files with 0 additions and 74 deletions
@@ -1,11 +0,0 @@
Index: libnl-2.0/libnl-2.0.pc.in
===================================================================
--- libnl-2.0.orig/libnl-2.0.pc.in
+++ libnl-2.0/libnl-2.0.pc.in
@@ -6,5 +6,5 @@
Name: libnl
Description: Convenience library for netlink sockets
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lnl
+Libs: -L${libdir} -lnl -lnl-genl -lnl-nf -lnl-route
Cflags: -I${includedir}
@@ -1,20 +0,0 @@
Index: libnl-2.0/lib/Makefile.am
===================================================================
--- libnl-2.0.orig/lib/Makefile.am
+++ libnl-2.0/lib/Makefile.am
@@ -27,11 +27,15 @@ CLEANFILES = \
route/pktloc_grammar.c route/pktloc_grammar.h \
route/pktloc_syntax.c route/pktloc_syntax.h
+BUILT_SOURCES = route/pktloc_syntax.h route/pktloc_grammar.h
+
# Hack to avoid using ylwrap. It does not function correctly in combination
# with --header-file=
+route/pktloc_grammar.h: route/pktloc_grammar.c
route/pktloc_grammar.c: route/pktloc_grammar.l
$(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
+route/pktloc_syntax.h: route/pktloc_syntax.c
route/pktloc_syntax.c: route/pktloc_syntax.y
$(YACC) -d $(YFLAGS) -o $@ $^
@@ -1,23 +0,0 @@
require libnl.inc
PE = "1"
PR = "${INC_PR}.0"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc"
DEPENDS = "flex-native bison-native"
SRC_URI = "\
http://www.infradead.org/~tgr/libnl/files/libnl-${PV}.tar.gz \
file://fix-pc-file.patch \
file://fix-pktloc-dep-race.patch \
"
SRC_URI[md5sum] = "6aaf1e9802a17a7d702bb0638044ffa7"
SRC_URI[sha256sum] = "5a40dc903d3ca1074da7424b908bec8ff16936484798c7e46e53e9db8bc87a9c"
PACKAGES =+ "${PN}-route ${PN}-nf ${PN}-genl ${PN}-cli"
FILES_${PN}-route = "${libdir}/libnl-route.so.*"
FILES_${PN}-nf = "${libdir}/libnl-nf.so.*"
FILES_${PN}-genl = "${libdir}/libnl-genl.so.*"
FILES_${PN}-cli = "${libdir}/libnl-cli.so.*"
@@ -1,20 +0,0 @@
require libnl.inc
PE = "1"
PV = "1.9+gitr${SRCPV}"
PR = "${INC_PR}.0"
DEPENDS = "flex-native bison-native"
S = "${WORKDIR}/git"
SRCREV = "d378220c96c3c8b6f27dca33e7d8ba03318f9c2d"
SRC_URI = "\
git://git.kernel.org/pub/scm/libs/netlink/libnl.git;protocol=git \
file://fix-pc-file.patch \
"
PACKAGES =+ "${PN}-route ${PN}-nf ${PN}-genl ${PN}-cli"
FILES_${PN}-route = "${libdir}/libnl-route.so.*"
FILES_${PN}-nf = "${libdir}/libnl-nf.so.*"
FILES_${PN}-genl = "${libdir}/libnl-genl.so.*"
FILES_${PN}-cli = "${libdir}/libnl-cli.so.*"